Skip to content

Commit 1266d24

Browse files
committed
Ruby: Remove redundant additional flow step from OrmTracking::Configuration
1 parent c3968a2 commit 1266d24

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
@@ -339,9 +339,6 @@ private module OrmTracking {
339339
or
340340
// Propagate flow through arbitrary method calls
341341
node2.(DataFlow2::CallNode).getReceiver() = node1
342-
or
343-
// Propagate flow through "or" expressions `or`/`||`
344-
node2.asExpr().getExpr().(LogicalOrExpr).getAnOperand() = node1.asExpr().getExpr()
345342
}
346343
}
347344
}

0 commit comments

Comments
 (0)