Skip to content

Commit cded757

Browse files
committed
JS: Add a query ID
1 parent a0f8e28 commit cded757

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • javascript/ql/test/query-tests/Security/CWE-400/ReDoS

javascript/ql/test/query-tests/Security/CWE-400/ReDoS/tst.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -234,7 +234,7 @@ var good33 = /(a+)*([^]*|X)$/;
234234

235235
var bad64 = /((a+)*$|[^]+)/; // $ Alert[js/redos]
236236

237-
var good34 = /([^]+|(a+)*$)/; // $ SPURIOUS: Alert - The only change compared to the above is the order of alternatives, which we don't model.
237+
var good34 = /([^]+|(a+)*$)/; // $ SPURIOUS: Alert[js/redos] - The only change compared to the above is the order of alternatives, which we don't model.
238238

239239

240240
var good35 = /((;|^)a+)+$/;

0 commit comments

Comments
 (0)