Skip to content

Form encode CR and LF in multipart field names - #2555

Merged
jhy merged 2 commits into
masterfrom
multipart-filenames
Aug 9, 2026
Merged

jhy merged 2 commits into
masterfrom
multipart-filenames

Conversation

@jhy

@jhy jhy commented Aug 9, 2026

Copy link
Copy Markdown
Owner

Corrected multipart form encoding to percent-escape CR and LF in field names and filenames, matching the HTML form submission specification. Multipart file content-types containing CR or LF are now rejected with a ValidationException.

jhy added 2 commits August 9, 2026 14:11
And validate file content-types against CR and LF
@jhy
jhy merged commit 89d31b4 into master Aug 9, 2026
22 checks passed
@jhy
jhy deleted the multipart-filenames branch August 9, 2026 04:17
@jhy jhy added this to the 1.23.2 milestone Aug 9, 2026
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.

1 participant