Skip to content

modsecurity only allowed to upload pictures 8k #959

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
cloudproxys opened this issue Nov 9, 2015 · 7 comments
Closed

modsecurity only allowed to upload pictures 8k #959

cloudproxys opened this issue Nov 9, 2015 · 7 comments

Comments

@cloudproxys
Copy link

After nginx install mod_security, you can not upload more than 8k size image,I should be how to solve this problem?

@zimmerle
Copy link
Contributor

zimmerle commented Nov 9, 2015

Hi @houhuijian,

Please use nginx_refactoring branch.

@cloudproxys
Copy link
Author

@zimmerle I've replaced nginx refactoring branch, but still the same problem

@zimmerle
Copy link
Contributor

Hi @houhuijian,

Once using the nginx_refactoring, you may want to set:

https://github.com/SpiderLabs/ModSecurity/issues/839

See #839.

@nilsher
Copy link

nilsher commented Nov 19, 2015

I have the same problem have tried with latest version of nginx_refactor branch.

I do not get any coredump so do not se why issue 839 would be involved.

@zimmerle
Copy link
Contributor

Hi @nilsher,

Did you had chance to set proxy_force_ranges? As demonstrated below:

proxy_force_ranges on;

@nilsher
Copy link

nilsher commented Nov 20, 2015

I tried setting it in http and location directive and it did not solve the issue.

@livemedia08
Copy link

Hello I tried to upload base64 images with php post and in safari i keep getting a lost connection response, i have also discovered that if i turn mod security off, everything work just fine, do you know if there is some detail i have to add to my code to let me upload the base64 images with out turning mod security off

Thank you!!

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

4 participants