1
Fork 0
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:
Andreas Kling 2020-06-15 17:55:27 +02:00
parent d883607e8f
commit 84f8c91a6f
3 changed files with 6 additions and 23 deletions

View file

@ -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);