mirror of
https://github.com/github/codeql.git
synced 2026-04-18 13:34:02 +02:00
Swift: Apply another code review suggestion.
This commit is contained in:
@@ -137,7 +137,7 @@ where
|
||||
message = "Tainted data is used in a WebView fetch without restricting the base URL."
|
||||
or
|
||||
// base URL is tainted
|
||||
config.hasFlow(_, any(DataFlow::Node n | n.asExpr() = sink.getBaseUrl())) and
|
||||
config.hasFlowToExpr(sink.getBaseUrl()) and
|
||||
message = "Tainted data is used in a WebView fetch with a tainted base URL."
|
||||
)
|
||||
select sink, sourceNode, sinkNode, message
|
||||
|
||||
Reference in New Issue
Block a user