LibWeb: Transform errant return
to a break
in form submission
There are more steps to be run after extracting the form body and type.
This commit is contained in:
parent
001d8384e5
commit
1cdccf901b
Notes:
github-actions[bot]
2024-08-22 12:22:16 +00:00
Author: https://github.com/trflynn89 Commit: https://github.com/LadybirdBrowser/ladybird/commit/1cdccf901bd Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/1158 Reviewed-by: https://github.com/shannonbooth
1 changed files with 1 additions and 1 deletions
|
@ -775,7 +775,7 @@ ErrorOr<void> HTMLFormElement::submit_as_entity_body(URL::URL parsed_action, Vec
|
|||
// 2. Let mimeType be the isomorphic encoding of the concatenation of "multipart/form-data; boundary=" and the multipart/form-data
|
||||
// boundary string generated by the multipart/form-data encoding algorithm.
|
||||
mime_type = POSTResource::RequestContentType::MultipartFormData;
|
||||
return {};
|
||||
break;
|
||||
}
|
||||
case EncodingTypeAttributeState::PlainText: {
|
||||
// -> text/plain
|
||||
|
|
Loading…
Add table
Reference in a new issue