Skip to content

Commit a76be91

Browse files
committed
JS: Remove deprected use of queryAccess
1 parent ff1326c commit a76be91

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ module ClientSideUrlRedirect {
4343
override predicate isAdditionalFlowStep(
4444
DataFlow::Node pred, DataFlow::Node succ, DataFlow::FlowLabel f, DataFlow::FlowLabel g
4545
) {
46-
queryAccess(pred, succ) and
46+
untrustedUrlSubstring(pred, succ) and
4747
f instanceof DocumentUrl and
4848
g.isTaint()
4949
or

0 commit comments

Comments
 (0)