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 0a0e9bb commit 32c1088Copy full SHA for 32c1088
java/ql/test/query-tests/security/CWE-730/ExpRedosTest.java
@@ -86,6 +86,9 @@ class ExpRedosTest {
86
// NOT GOOD; attack: "\n".repeat(100) + "."
87
"(?s)(.|\\n)*!", // $ hasExpRedos
88
89
+ // NOT GOOD; attack: "\n".repeat(100) + "."
90
+ "(?is)(.|\\n)*!", // $ MISSING: hasExpRedos
91
+
92
// GOOD
93
"([\\w.]+)*",
94
@@ -120,7 +123,7 @@ class ExpRedosTest {
120
123
"\"((?:\\\\[\\x00-\\x7f]|[^\\x00-\\x08\\x0a-\\x1f\\x7f\"])*)\"", // $ MISSING: hasExpRedos
121
124
122
125
- "\"((?:\\\\[\\x00-\\x7f]|[^\\x00-\\x08\\x0a-\\x1f\\x7f\"\\\\])*)\"",
126
+ "\"((?:\\\\[\\x00-\\x7f]|[^\\x00-\\x08\\x0a-\\x1f\\x7f\"\\\\])*)\"",
127
128
// NOT GOOD
129
"(([a-z]|[d-h])*)\"", // $ hasExpRedos
0 commit comments