Skip to content

Commit e509385

Browse files
author
luciaromeroML
committed
formatting qll file
1 parent 1fc58e5 commit e509385

File tree

1 file changed

+2
-1
lines changed
  • javascript/ql/src/experimental/Security/CWE-918

1 file changed

+2
-1
lines changed

javascript/ql/src/experimental/Security/CWE-918/SSRF.qll

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,13 +21,14 @@ class Configuration extends TaintTracking::Configuration {
2121
or
2222
hasSanitizingSubstring(nd.getAPredecessor())
2323
}
24-
24+
2525
private predicate strictSanitizingPrefixEdge(DataFlow::Node source, DataFlow::Node sink) {
2626
exists(DataFlow::Node operator, int n |
2727
StringConcatenation::taintStep(source, sink, operator, n) and
2828
hasSanitizingSubstring(StringConcatenation::getOperand(operator, [0 .. n - 1]))
2929
)
3030
}
31+
3132
override predicate isSanitizerEdge(DataFlow::Node source, DataFlow::Node sink) {
3233
strictSanitizingPrefixEdge(source, sink)
3334
}

0 commit comments

Comments
 (0)