We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent be018cc commit fb5cfccCopy full SHA for fb5cfcc
ql/lib/codeql/ruby/security/XSS.qll
@@ -240,7 +240,7 @@ module ReflectedXSS {
240
class RemoteFlowSourceAsSource extends Source, RemoteFlowSource { }
241
}
242
243
-module OrmTracking {
+private module OrmTracking {
244
/**
245
* A data flow configuration to track flow from finder calls to field accesses.
246
*/
@@ -257,6 +257,9 @@ module OrmTracking {
257
or
258
// Propagate flow through arbitrary method calls
259
node2.(DataFlow2::CallNode).getReceiver() = node1
260
+ or
261
+ // Propagate flow through "or" expressions `or`/`||`
262
+ node2.asExpr().getExpr().(LogicalOrExpr).getAnOperand() = node1.asExpr().getExpr()
263
264
265
0 commit comments