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:
|
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
It is possible to get a header with this format:
content-type: multipart/mixed;boundary="test";deferSpec=20220824Specified 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:
multer/src/lib.rs
Lines 178 to 180 in 09cc730
So we get an
incomplete multipart streamerror because multer is looking for the boundary with quotes