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

fixed bug in parsing POST file uploads #7543

Merged
merged 6 commits into from
Nov 2, 2020
Merged

fixed bug in parsing POST file uploads #7543

merged 6 commits into from
Nov 2, 2020

Conversation

mjforan
Copy link
Contributor

@mjforan mjforan commented Aug 23, 2020

This PR fixes #7542. I rewrote the section of the Web Server library which handles files being uploaded via POST requests.

@mjforan mjforan requested a review from d-a-v September 17, 2020 20:11
Copy link
Collaborator

@d-a-v d-a-v left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, nothing jumps at me after carefully reading.

Copy link
Collaborator

@earlephilhower earlephilhower left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Strangely enough I was unable to reproduce your failure with master using the same PEM as you did, but I do see the issue you found in the existing code. Things have to align poorly in the HTTP stream to hit it, I guess.

Thx for the PR!

libraries/ESP8266WebServer/src/Parsing-impl.h Show resolved Hide resolved
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

Successfully merging this pull request may close these issues.

Bug in parsing file upload through http form
4 participants