diff --git a/swift/ql/lib/codeql/swift/frameworks/StandardLibrary/CustomUrlSchemes.qll b/swift/ql/lib/codeql/swift/frameworks/StandardLibrary/CustomUrlSchemes.qll index f51a6494c87e..919771b7dfea 100644 --- a/swift/ql/lib/codeql/swift/frameworks/StandardLibrary/CustomUrlSchemes.qll +++ b/swift/ql/lib/codeql/swift/frameworks/StandardLibrary/CustomUrlSchemes.qll @@ -3,7 +3,11 @@ private import codeql.swift.dataflow.DataFlow private import codeql.swift.dataflow.ExternalFlow private import codeql.swift.dataflow.FlowSources -private class UrlRemoteFlowSource extends SourceModelCsv { +/** + * A model for custom URL remote flow sources. iOS apps can receive arbitrary + * URLs from other apps in these functions if they register a custom URL scheme. + */ +private class CustomUrlRemoteFlowSource extends SourceModelCsv { override predicate row(string row) { row = [