1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 06:58:11 +00:00

LibWeb/HTML: Use correct spec link for multipart/form-data encoding

This commit is contained in:
Linus Groh 2023-04-09 17:59:36 +02:00
parent d39ac0a0ed
commit b3cc320718

View file

@ -176,7 +176,7 @@ WebIDL::ExceptionOr<Optional<Vector<XHR::FormDataEntry>>> construct_entry_list(J
return entry_list; return entry_list;
} }
// https://html.spec.whatwg.org/multipage/form-control-infrastructure.html#multipart-form-data // https://html.spec.whatwg.org/multipage/form-control-infrastructure.html#multipart/form-data-encoding-algorithm
ErrorOr<SerializedFormData> serialize_to_multipart_form_data(Vector<XHR::FormDataEntry> const& entry_list) ErrorOr<SerializedFormData> serialize_to_multipart_form_data(Vector<XHR::FormDataEntry> const& entry_list)
{ {
auto normalize_line_breaks = [](StringView value) -> ErrorOr<String> { auto normalize_line_breaks = [](StringView value) -> ErrorOr<String> {