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

The verification fails if the form is encoded with multipart/form-data and there is an input with zip file #95

Closed
emersoncavalcanti1972 opened this issue Jan 30, 2019 · 0 comments

Comments

@emersoncavalcanti1972
Copy link

emersoncavalcanti1972 commented Jan 30, 2019

A CSRF failure occurs when a form (encoded with multipart/form-data) uses a file-type input in which to send a zip file. I tested with .jpg, .png and .pdf without fail. I noticed that the error is in the way the form fields are retrieved using the request->getParsedBody() function on your code. Which does not return data if the file type input contains ZIP files.

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

2 participants