1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-28 13:05:09 +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;
}
// 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)
{
auto normalize_line_breaks = [](StringView value) -> ErrorOr<String> {