We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 02707f0 commit df5eab3Copy full SHA for df5eab3
javascript/ql/src/meta/internal/TaintMetrics.qll
@@ -75,16 +75,9 @@ DataFlow::Node relevantTaintSink(string kind) {
75
DataFlow::Node relevantTaintSink() { result = relevantTaintSink(_) }
76
77
/**
78
- * Gets a remote flow source or `document.location` source.
+ * Gets a relevant remote flow source.
79
*/
80
-DataFlow::Node relevantTaintSource() {
81
- not result.getFile() instanceof IgnoredFile and
82
- (
83
- result instanceof RemoteFlowSource
84
- or
85
- result = DOM::locationSource()
86
- )
87
-}
+RemoteFlowSource relevantTaintSource() { not result.getFile() instanceof IgnoredFile }
88
89
90
* Gets the output of a call that shows intent to sanitize a value
0 commit comments