Update javascript/ql/lib/change-notes/2024-11-28-regexp-unknown-flags.md

Co-authored-by: Asger F <asgerf@github.com>
This commit is contained in:
Napalys Klicius
2024-12-02 13:35:52 +01:00
committed by GitHub
parent 9d4e737bc2
commit 08ef0dc1f2

View File

@@ -1,5 +1,6 @@
---
category: majorAnalysis
---
* Queries working with regular expressions now also handle regular expressions constructed using `new RegExp(..)`. Previously some queries didn't handle such regular expressions.
* The `js/incomplete-sanitization` query now also checks regular expressions constructed using `new RegExp(..)`. Previously it only checked regular expression literals.
* Regular expression-based sanitisers implemented with `new RegExp(..)` are now detected in more cases.
* Regular expression related queries now account for unknown flags.