Skip to content

Commit 08ef0dc

Browse files
Napalysasgerf
andauthored
Update javascript/ql/lib/change-notes/2024-11-28-regexp-unknown-flags.md
Co-authored-by: Asger F <[email protected]>
1 parent 9d4e737 commit 08ef0dc

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed
Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
---
22
category: majorAnalysis
33
---
4-
* Queries working with regular expressions now also handle regular expressions constructed using `new RegExp(..)`. Previously some queries didn't handle such regular expressions.
4+
* The `js/incomplete-sanitization` query now also checks regular expressions constructed using `new RegExp(..)`. Previously it only checked regular expression literals.
5+
* Regular expression-based sanitisers implemented with `new RegExp(..)` are now detected in more cases.
56
* Regular expression related queries now account for unknown flags.

0 commit comments

Comments
 (0)