-
-
Notifications
You must be signed in to change notification settings - Fork 426
fix(942120): update operators #3841
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
|
Thanks for the patch. Is there any other operator we are missing? |
|
Does this even make sense then? coreruleset/regex-assembly/942120.ra Line 35 in 738694e
|
|
I looked at the operators from here.
No, that's unnecessary, going to remove it. |
|
On a second thought, there are no tests for it, so can't say for sure exactly what they were targeting.
|
|
Test ID 26 exists. But then the expansion part |
|
I think it will never match the From that list we are missing:
|
|
I'm going to remove |
|
Sounds good to me! |
|
LGTM! |
fzipi
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We can merge this one after updating tests, and then maybe work on moving operators to an include file?
|
Yeah, moving into an include file would make sense, but I've only referred into the operators for SQLite, and we may need to look into other database engines, for e.g mysql. |
fzipi
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is taking a nice shape now. Let's add to the test description a way of reading the test content more easily.
tests/regression/tests/REQUEST-942-APPLICATION-ATTACK-SQLI/942120.yaml
Outdated
Show resolved
Hide resolved
tests/regression/tests/REQUEST-942-APPLICATION-ATTACK-SQLI/942120.yaml
Outdated
Show resolved
Hide resolved
tests/regression/tests/REQUEST-942-APPLICATION-ATTACK-SQLI/942120.yaml
Outdated
Show resolved
Hide resolved
Co-authored-by: Max Leske <[email protected]>
Co-authored-by: Max Leske <[email protected]>
|
This is now ready. LGTM! |
|
We're getting there. |
Added fix for rule 942120.