Skip to content

Improve configuration merge logic for a number of directives #1990

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

Closed
wants to merge 4 commits into from

Conversation

defanator
Copy link
Contributor

Namely,

SecRuleEngine
SecArgumentSeparator
SecHttpBlKey
SecRequestBodyAccess
SecRequestBodyLimit
SecRequestBodyLimitAction
SecResponseBodyAccess
SecResponseBodyLimit
SecResponseBodyLimitAction
SecTmpDir
SecTmpSaveUploadedFiles
SecUploadDir
SecUploadFileLimit
SecUploadFileMode
SecUploadKeepFiles
SecWebAppId
SecXmlExternalEntity

Tests for nginx connector will follow.

This change makes the following directives to be merged properly:

SecRequestBodyLimit
SecResponseBodyLimit
SecUploadFileLimit
SecUploadFileMode
SecUploadDir
SecTmpDir
SecArgumentSeparator
SecWebAppId
SecHttpBlKey
This change makes the following directives to be merged properly:

SecRequestBodyAccess
SecResponseBodyAccess
SecXmlExternalEntity
SecUploadKeepFiles
SecTmpSaveUploadedFiles
This change makes the SecRuleEngine directive to be merged properly.
This change makes the following directives to be merged properly:

SecRequestBodyLimitAction
SecResponseBodyLimitAction
defanator added a commit to defanator/ModSecurity-nginx that referenced this pull request Dec 26, 2018
zimmerle pushed a commit to owasp-modsecurity/ModSecurity-nginx that referenced this pull request Dec 26, 2018
@defanator
Copy link
Contributor Author

@zimmerle could you please re-run https://travis-ci.org/SpiderLabs/ModSecurity/builds/472256050 to make Travis happy after
78b7fa4? I don't have "restart build" button there due to repository perms. TIA!

@zimmerle zimmerle self-assigned this Dec 28, 2018
@victorhora
Copy link
Contributor

Seems like the build has passed @defanator :)

@victorhora victorhora added enhancement 3.x Related to ModSecurity version 3.x labels Dec 28, 2018
@victorhora victorhora added this to the v3.0.4 milestone Dec 28, 2018
@zimmerle zimmerle self-requested a review January 8, 2019 13:34
zimmerle pushed a commit that referenced this pull request Jan 8, 2019
@zimmerle
Copy link
Contributor

zimmerle commented Jan 8, 2019

Merged :) Thanks!

@zimmerle zimmerle closed this Jan 8, 2019
defanator added a commit to defanator/ModSecurity-nginx that referenced this pull request Jan 9, 2019
zimmerle pushed a commit to owasp-modsecurity/ModSecurity-nginx that referenced this pull request Jan 9, 2019
pracj3am pushed a commit to cdn77/ModSecurity-nginx that referenced this pull request Nov 4, 2022
pracj3am pushed a commit to cdn77/ModSecurity-nginx that referenced this pull request Nov 4, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
3.x Related to ModSecurity version 3.x enhancement
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants