You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've realized that there's an oversight in the regex used for the chained matchvar. At the time of implementation, I incorrectly set the range as written, but it should actually be A-Za-z to accurately capture the intended pattern.
I think the rx is working as expected just because the "-" between the two ranges is interpreted as literal hyphen. Am I wrong?
I'm going to assign this to me as a reminder for opening a PR to fix this.
The text was updated successfully, but these errors were encountered:
You are talking about A-Z-a-z? That's indeed wrong. But you repeat the - later in the regex so I think it gets ignored. Not 100% sure you can write -_, though. Should not it be _-`?
Also, when doing a PR, could you add a comment why we need the chained rule with the ey prefix.
https://github.com/coreruleset/coreruleset/blob/v4.0/dev/rules/REQUEST-942-APPLICATION-ATTACK-SQLI.conf#L1362
I've realized that there's an oversight in the regex used for the chained matchvar. At the time of implementation, I incorrectly set the range as written, but it should actually be A-Za-z to accurately capture the intended pattern.
I think the rx is working as expected just because the "-" between the two ranges is interpreted as literal hyphen. Am I wrong?
I'm going to assign this to me as a reminder for opening a PR to fix this.
The text was updated successfully, but these errors were encountered: