Skip to content

Commit c06c9a0

Browse files
committed
JS: fix copy pasta and test output
1 parent dd5f485 commit c06c9a0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

javascript/ql/src/semmle/javascript/security/dataflow/UrlConcatenation.qll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,5 +65,5 @@ private predicate hasHostnameSanitizingSubstring(DataFlow::Node nd) {
6565
predicate hostnameSanitizingPrefixEdge(DataFlow::Node source, DataFlow::Node sink) {
6666
exists (DataFlow::Node operator, int n |
6767
StringConcatenation::taintStep(source, sink, operator, n) and
68-
hasSanitizingSubstring(StringConcatenation::getOperand(operator, [0..n-1])))
68+
hasHostnameSanitizingSubstring(StringConcatenation::getOperand(operator, [0..n-1])))
6969
}

0 commit comments

Comments
 (0)