diff --git a/Userland/Libraries/LibWeb/URL/URLSearchParams.cpp b/Userland/Libraries/LibWeb/URL/URLSearchParams.cpp index 60e00b181a..8252e8c442 100644 --- a/Userland/Libraries/LibWeb/URL/URLSearchParams.cpp +++ b/Userland/Libraries/LibWeb/URL/URLSearchParams.cpp @@ -49,6 +49,8 @@ ErrorOr url_encode(Vector const& pairs, AK::URL::PercentEnco return builder.to_string(); } +// https://url.spec.whatwg.org/#concept-urlencoded-parser +// The application/x-www-form-urlencoded parser takes a byte sequence input, and then runs these steps: ErrorOr> url_decode(StringView input) { // 1. Let sequences be the result of splitting input on 0x26 (&).