Skip to content

Commit 19bcd28

Browse files
authored
Merge pull request github#10867 from hvitved/ruby/orm-tracking-redundant-additional-step
Ruby: Remove redundant additional flow step from `OrmTracking::Configuration`
2 parents d362296 + 1266d24 commit 19bcd28

File tree

1 file changed

+0
-3
lines changed
  • ruby/ql/lib/codeql/ruby/security

1 file changed

+0
-3
lines changed

ruby/ql/lib/codeql/ruby/security/XSS.qll

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -350,9 +350,6 @@ private module OrmTracking {
350350
or
351351
// Propagate flow through arbitrary method calls
352352
node2.(DataFlow2::CallNode).getReceiver() = node1
353-
or
354-
// Propagate flow through "or" expressions `or`/`||`
355-
node2.asExpr().getExpr().(LogicalOrExpr).getAnOperand() = node1.asExpr().getExpr()
356353
}
357354
}
358355
}

0 commit comments

Comments
 (0)