Skip to content

Fix for multipart form data without trailing CRLF #1048

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

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

blunchboxx
Copy link

Modified parse_body in multipart.h to support multipart form data without trailing CRLF as allowed by RFC 2046.

Cleaned up and commented code. Moved final_delim declaration outside loop and updated while loop condition to check state of final_delim instead.
@blunchboxx
Copy link
Author

Commit fixes #1040

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.

Multipart parsing fails when final boundary lacks CRLF, contrary to RFC 2046
1 participant