Skip to content

fix(core): Fix multipart stream being split when content contains boundary#3155

Merged
kitten merged 1 commit intomainfrom
fix/multipart-chunk-boundary
Apr 18, 2023
Merged

fix(core): Fix multipart stream being split when content contains boundary#3155
kitten merged 1 commit intomainfrom
fix/multipart-chunk-boundary

Conversation

@kitten
Copy link
Copy Markdown
Member

@kitten kitten commented Apr 18, 2023

Resolve #3153

Summary

The spec makes no stipulations as per what the boundary should be changed to when the content happens to contain the boundary. So, naturally, we'll need to split on CRLF with the boundary.

Set of changes

  • Add CRLF to boundary splitting

@kitten kitten requested a review from JoviDeCroock April 18, 2023 11:09
@kitten kitten merged commit fe4e08a into main Apr 18, 2023
@kitten kitten deleted the fix/multipart-chunk-boundary branch April 18, 2023 11:13
@github-actions github-actions Bot mentioned this pull request Apr 18, 2023
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/mixed boundary confusion

2 participants