-
Notifications
You must be signed in to change notification settings - Fork 7.4k
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
fix(webserver): Proposal for simplifying webserver file uploads via form POST. #9167
Conversation
The form parser has shown to have issues with files ending with "--\r\n". This commit replaces the form parser with the parser from ESP8266, which passes the test case.
👋 Hello everslick, we appreciate your contribution to this project! Click to see more instructions ...
Review and merge process you can expect ...
|
The _uploadReadByte() method should be also be replaced with this implementation from ESP8266:
|
Could you also add this to this PR ? |
Done. |
Thanks, I'll test everything and get back to you |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good. Tested with WebServer example "FSBrowser".
The form parser has been shown to have issues with files ending with "--\r\n".This commit replaces the form parser with the parser from ESP8266, which is simpler and easier to reason about.