Skip to content

Commit 9f43844

Browse files
committed
JS: Remove obsolete code
1 parent 8d60ae7 commit 9f43844

File tree

1 file changed

+0
-9
lines changed

1 file changed

+0
-9
lines changed

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

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -134,15 +134,6 @@ module TaintedPath {
134134
) {
135135
isTaintedPathStep(src, dst, srclabel, dstlabel)
136136
or
137-
// Introduce the specialized flow labels when approaching a specialized sanitizer guard.
138-
exists(TaintTracking::LabeledSanitizerGuardNode guard, Expr e |
139-
guard.sanitizes(_, e, any(Label::PosixPath label)) and
140-
src.(DataFlow::SourceNode).flowsToExpr(e) and
141-
dst = src and
142-
srclabel instanceof DataFlow::StandardFlowLabel and
143-
dstlabel instanceof Label::PosixPath
144-
)
145-
or
146137
// Ignore all preliminary sanitization after decoding URI components
147138
srclabel instanceof Label::PosixPath and
148139
dstlabel instanceof Label::PosixPath and

0 commit comments

Comments
 (0)