Skip to content

Commit e4f7560

Browse files
committed
JS: Add missing qldoc
1 parent 15fc450 commit e4f7560

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

javascript/ql/lib/semmle/javascript/security/TaintedUrlSuffix.qll

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,12 @@ module TaintedUrlSuffix {
4646
]
4747
}
4848

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+
*/
4955
predicate isBarrier(Node node, FlowLabel label) {
5056
label = label() and
5157
DataFlowPrivate::optionalBarrier(node, "tainted-url-suffix")

0 commit comments

Comments
 (0)