-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Refactoring conditional directives. #996
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
…atements and incomplete if conditions.
I'll leave this for @zimmerle but you should check out the the libmodsecurity branch as it has been rewritten with a more logical design and stricter coding standards defined. |
Hi @wmarquesr, Thank you for the patch. The code is currently in our BuildBots. Same modifications are more than welcomed on LibModSecurity, available here: |
Hi @wmarquesr, I left a comment in the patch: Can you fix this? |
All fixed. Sorry for the mistake. |
Thank you @wmarquesr, Patch is on our buildbots again. |
Hi @wmarquesr, Still interested to provide the fix ? |
All fixed, sorry for delay. |
Hi @wmarquesr, Thank you! Your patch was merged and will be released as part of ModSecurity v2.9.1. The same kind of patch are very welcomed in ModSecurity version 3: |
A suggestion to compile entire statements and expressions, as suggested by code style guidelines from the Linux Kernel and practitioners.
It might improve code understanding, maintainability and error-proneness.