Skip to content

Commit 168a3ae

Browse files
committed
Ruby: PolynomialReDoS: keep excluded
1 parent 6b5d767 commit 168a3ae

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

ruby/ql/lib/codeql/ruby/security/regexp/PolynomialReDoSQuery.qll

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,10 +18,6 @@ private module PolynomialReDoSConfig implements DataFlow::ConfigSig {
1818
predicate isSink(DataFlow::Node sink) { sink instanceof Sink }
1919

2020
predicate isBarrier(DataFlow::Node node) { node instanceof Sanitizer }
21-
22-
predicate observeDiffInformedIncrementalMode() {
23-
any() // TODO: Make sure that the location overrides match the query's select clause: Column 1 selects sink.getHighlight (/Users/d10c/src/semmle-code/ql/ruby/ql/src/queries/security/cwe-1333/PolynomialReDoS.ql@27:8:27:30), Column 5 selects sink.getRegExp (/Users/d10c/src/semmle-code/ql/ruby/ql/src/queries/security/cwe-1333/PolynomialReDoS.ql@29:67:29:72)
24-
}
2521
}
2622

2723
/**

0 commit comments

Comments
 (0)