Skip to content
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

Boundary missing #40

Open
rjahn opened this issue Jun 10, 2022 · 0 comments
Open

Boundary missing #40

rjahn opened this issue Jun 10, 2022 · 0 comments

Comments

@rjahn
Copy link

rjahn commented Jun 10, 2022

Your upload sets:

'Content-Type', 'multipart/form-data'

but no boundary. This is working with application servers, but mod_security doesn't allow "wrong usage" and denies uploads.
There are some RFCs like RFC7231, RFC2406.

From my point of view, boundary is required to be standard conform. Also if you use mod_security, you won't have any problems with your admins :)

Adding a boundary in your code shouldn't be a big problem?

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

1 participant