mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-05-01 03:57:15 +02:00
LibWeb: Use the URL encoder from AK instead of rolling a custom one
This commit is contained in:
Notes:
sideshowbarker
2024-07-19 05:38:24 +09:00
Author: https://github.com/awesomekling Commit: https://github.com/SerenityOS/serenity/commit/84f8c91a6fa
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user