-
Notifications
You must be signed in to change notification settings - Fork 728
Rule 921130: False positive #1609
Comments
A very similar issue is present in |
This issue has been open 120 days with no activity. Remove the stale label or comment, or this will be closed in 14 days |
Same as the others, this one is still valid :) |
I'm taking it into the agenda for the next chat. |
Decision during the CRS project chat on March 2, 2020: @franbuehler will solve this. |
The rule 921130 is a So I don't think that the regex is wrong. Maybe the rule is too strict and we have false positives. But the regex is correct. Are there a lot of false positives? Other opinions? |
Hey! Thanks for spending time looking into this issue. |
Type of Issue
False positive.
Description
I'm not sure what the regex is trying to do, (I guess matching
<html
when there is no>
forthcoming?) but it instead match any HTML blob, including<html>
.I guess
\b
was meant not to match if there was a>
at the end of the tag but it doesn't work, at least not on RE2.Therefore, any HTML blob will match, making this rule incredibly noisy.
Confirmation
[x] I have removed any personal data (email addresses, IP addresses,
passwords, domain names) from any logs posted.
The text was updated successfully, but these errors were encountered: