Support percent-encoding for Content-Disposition parameter values as per RFC7578.

This commit is contained in:
levlam 2023-02-06 22:44:01 +03:00
parent 1e6c3ef93d
commit 694378f9ab

View File

@ -378,6 +378,7 @@ Result<bool> HttpReader::parse_multipart_form_data(bool can_be_slow) {
header_value = MutableSlice(); header_value = MutableSlice();
} }
} }
value = url_decode_inplace(value, false);
if (key == "name") { if (key == "name") {
field_name_ = value; field_name_ = value;