mirror of
https://github.com/github/codeql.git
synced 2026-04-26 17:25:19 +02:00
JS: Accept a fixed FN
This commit is contained in:
@@ -216,7 +216,7 @@ var good28 = /foo([\uDC66\uDC67]|[\uDC68\uDC69])*foo/
|
||||
|
||||
var good29 = /foo((\uDC66|\uDC67)|(\uDC68|\uDC69))*foo/
|
||||
|
||||
var bad62 = /a{2,3}(b+)+X/; // $ MISSING: Alert - cannot currently construct a prefix
|
||||
var bad62 = /a{2,3}(b+)+X/; // $ Alert[js/redos]
|
||||
|
||||
var bad63 = /^<(\w+)((?:\s+\w+(?:\s*=\s*(?:(?:"[^"]*")|(?:'[^']*')|[^>\s]+))?)*)\s*(\/?)>/; // $ Alert[js/redos] - and a good prefix test
|
||||
|
||||
|
||||
Reference in New Issue
Block a user