-
-
Notifications
You must be signed in to change notification settings - Fork 40
Open
Description
It is possible to get a header with this format: content-type: multipart/mixed;boundary="test";deferSpec=20220824
Specified as parameters in field values: https://httpwg.org/specs/rfc9110.html#rfc.section.5.6.6
The current code in parse boundary does not remove the quotes:
Lines 178 to 180 in 09cc730
| m.get_param(mime::BOUNDARY) | |
| .map(|name| name.as_str().to_owned()) | |
| .ok_or(Error::NoBoundary) |
So we get an incomplete multipart stream error because multer is looking for the boundary with quotes
Metadata
Metadata
Assignees
Labels
No labels