-
-
Notifications
You must be signed in to change notification settings - Fork 402
Moved --> keyword from 941180 (PL1) into new stricter sibling rule 941181 (PL2) #2060 #2088
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
…h is matched by stricter sibling 941181
This is great. Thank you very much @53cur3M3 for this fix. Namely the tests. Nitpicking
Proposal 941180: |
941181-3 is putting payload in parameter name |
True that. Thanks. Could you add the comments mentioned above? Good to merge afterwards, I think. |
Thank you for this PR. I spotted a small problem: in line 735, This should be |
LGTM. |
Congratulations on the first merged PL @53cur3M3. 🍻 |
This improvement adds further consistency to coreruleset#2088 The PL1 rule (`941180`) of Node-Validator keywords contains both evident attack fragments, i.e. `document.cookie`, as well as comment payloads, i.e. `<!--`. This change moves all comment payloads to the PL2 rule (`941181`) that already contains the comment closing tag `-->`. This makes the PL1 rule in line with the goal of PL1, and makes the already existing PL2 rule consistent with the goal of having `comment` payloads.
This improvement adds further consistency to coreruleset#2088 The PL1 rule (`941180`) of Node-Validator keywords contains both evident attack fragments, i.e. `document.cookie`, as well as comment payloads, i.e. `<!--`. This change moves all comment payloads to the PL2 rule (`941181`) that already contains the comment closing tag `-->`. This makes the PL1 rule in line with the goal of PL1, and makes the already existing PL2 rule consistent with the goal of having `comment` payloads.
Moved --> keyword from 941180 (PL1) into new stricter sibling rule 941181 (PL2) #2060
Updated 941180 to include a negative test for -->
Added tests for 941181
Replaces PR2082