We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c637b6f commit baef999Copy full SHA for baef999
1 file changed
javascript/ql/src/change-notes/2023-06-01-restrict-regex-search-function.md
@@ -0,0 +1,6 @@
1
+---
2
+category: minorAnalysis
3
4
+* Fixed an issue where calls to a method named `search` would lead to false positive alerts related to regular expressions.
5
+ This happened when the call was incorrectly seen as a call to `String.prototype.search`, since this function converts its first argument
6
+ to a regular expression. The analysis is now more restrictive about when to treat `search` calls as regular expression sinks.
0 commit comments