mirror of
https://github.com/RGBCube/serenity
synced 2025-05-14 22:34:59 +00:00
LibWeb: Use the URL encoder from AK instead of rolling a custom one
This commit is contained in:
parent
d883607e8f
commit
84f8c91a6f
3 changed files with 6 additions and 23 deletions
|
@ -69,7 +69,7 @@ void HTMLFormElement::submit(RefPtr<HTMLInputElement> submitter)
|
|||
return IterationDecision::Continue;
|
||||
});
|
||||
|
||||
url.set_query(url_encode(parameters));
|
||||
url.set_query(urlencode(parameters));
|
||||
|
||||
// FIXME: We shouldn't let the form just do this willy-nilly.
|
||||
document().frame()->page().load(url);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue