Skip to content

Commit baef999

Browse files
committed
JS: Change note
1 parent c637b6f commit baef999

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -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

Comments
 (0)