Skip to content

Commit 5a3eec8

Browse files
committed
rename isTaintedPathStep to isPosixPathStep
1 parent 97c199e commit 5a3eec8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -627,7 +627,7 @@ module TaintedPath {
627627
DataFlow::Node src, DataFlow::Node dst, DataFlow::FlowLabel srclabel,
628628
DataFlow::FlowLabel dstlabel
629629
) {
630-
isTaintedPathStep(src, dst, srclabel, dstlabel)
630+
isPosixPathStep(src, dst, srclabel, dstlabel)
631631
or
632632
// Ignore all preliminary sanitization after decoding URI components
633633
srclabel instanceof Label::PosixPath and
@@ -741,7 +741,7 @@ module TaintedPath {
741741
* Holds if we should include a step from `src -> dst` with labels `srclabel -> dstlabel`, and the
742742
* standard taint step `src -> dst` should be suppresesd.
743743
*/
744-
private predicate isTaintedPathStep(
744+
private predicate isPosixPathStep(
745745
DataFlow::Node src, DataFlow::Node dst, Label::PosixPath srclabel, Label::PosixPath dstlabel
746746
) {
747747
// path.normalize() and similar

0 commit comments

Comments
 (0)