-
-
Notifications
You must be signed in to change notification settings - Fork 402
fix: ignore checking compressed response body #3712
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
Is SecDisableBackendCompression also updating/removing |
Just to be sure, i tested usage of
I can't test |
What |
Note: because of how |
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.
Yeah, it doesn't make sense to run this if content is compressed.
As we decided on last monthy chat, we are going to trust
Content-Encoding
response header. This fix was supposed to deal only with rule953120
but i think there no sense searching for any patterns in compressed data at all, so we should skip all rules dealing withRESPONSE_BODY
. Current PR fixes this for 953* rules but i suggest to add similar skipping rule into all files with response rules (i can update this PR).Fixes #2751.