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 5e41459 commit a3d8f1aCopy full SHA for a3d8f1a
go/ql/src/Security/CWE-601/BadRedirectCheck.ql
@@ -123,6 +123,17 @@ module Config implements DataFlow::ConfigSig {
123
}
124
125
predicate isSink(DataFlow::Node sink) { sink instanceof OpenUrlRedirect::Sink }
126
+
127
+ predicate observeDiffInformedIncrementalMode() { any() }
128
129
+ Location getASelectedSourceLocation(DataFlow::Node source) {
130
+ result = source.getLocation()
131
+ or
132
+ exists(DataFlow::Node check |
133
+ isCheckedSource(source, check) and
134
+ result = check.getLocation()
135
+ )
136
+ }
137
138
139
module Flow = TaintTracking::Global<Config>;
0 commit comments