Skip to content

This commit closes the issue #2033. #2189

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

studersi
Copy link

Added a fix for issue #2033 based on #1353 and 9ac9ff8.

The fix is basically the same as is used for #1353, adding a sanity check after the arguments are parsed. I added the check for ctl:ruleRemoveTargetById as well as ctl:ruleRemoveTargetByMsg.

I'm currently unable to check this in the environment where it first occurred and I currently cannot reproduce the error as it was reported to me.

Note: This change also fixes inconsistent whites pace on the original fix.

@zimmerle zimmerle self-requested a review November 20, 2019 12:31
@zimmerle zimmerle self-assigned this Nov 20, 2019
@zimmerle zimmerle added 3.x Related to ModSecurity version 3.x 2.x - mlogc Related to ModSecurity version 2.x mlogc and removed 3.x Related to ModSecurity version 3.x labels Nov 20, 2019
@zimmerle
Copy link
Contributor

Hi @studersi,

Thank you for your contribution. I've changed the commit name to reflect what you have placed on the CHANGELOG.

@zimmerle zimmerle closed this Nov 20, 2019
@studersi
Copy link
Author

Perfect, thank you!

@studersi studersi deleted the bugfix/add_sanity_checks branch April 18, 2020 08:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
2.x - mlogc Related to ModSecurity version 2.x mlogc
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants