Skip to content

Does modsecurity 2.9.0 support Transfer-Encoding: Chunked? #2631

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
DeveloperInMe opened this issue Oct 25, 2021 · 3 comments
Closed

Does modsecurity 2.9.0 support Transfer-Encoding: Chunked? #2631

DeveloperInMe opened this issue Oct 25, 2021 · 3 comments

Comments

@DeveloperInMe
Copy link

modsecurity version: 2.9.0
Apache 2.4.6/centos

I have a request coming from mobile using encoding chunked which modsec is not able to read at all. So can you advise if 2.9.0 version supports chunked encoding or not? If not then from which version will get that or is there any workaround involved for processing the request.

@martinhsv
Copy link
Contributor

Hi @DeveloperInMe ,

I just tried this with ModSecurity 2.9.0 and I did not encounter any problems.

One thing you could check is that your request is not incorrectly sending both a Content-Length header and a Transfer-Encoding header.

You could also try submitting a simplified version of the request with curl:

curl -H "Transfer-Encoding: Chunked" -d "your_post_args" http://localhost/whateverurl.php

@marcstern
Copy link

It doesn't work with SecStreamInBodyInspection - see #2628

@martinhsv
Copy link
Contributor

With no further activity on this, I'll go ahead and close it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants