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 15fc450 commit e4f7560Copy full SHA for e4f7560
javascript/ql/lib/semmle/javascript/security/TaintedUrlSuffix.qll
@@ -46,6 +46,12 @@ module TaintedUrlSuffix {
46
]
47
}
48
49
+ /**
50
+ * Holds if `node` should be a barrier for the given `label`.
51
+ *
52
+ * This should be used in the `isBarrier` predicate of a configuration that uses the tainted-url-suffix
53
+ * label.
54
+ */
55
predicate isBarrier(Node node, FlowLabel label) {
56
label = label() and
57
DataFlowPrivate::optionalBarrier(node, "tainted-url-suffix")
0 commit comments