diff --git a/AK/URLParser.cpp b/AK/URLParser.cpp index 9ad8f6fa008..5db78f295f2 100644 --- a/AK/URLParser.cpp +++ b/AK/URLParser.cpp @@ -803,8 +803,12 @@ URL URLParser::parse(StringView raw_input, Optional const& base_url, Option continue; } } + // 5. Otherwise, set state to path state, and decrease pointer by 1. + else { + state = State::Path; + continue; + } - // FIXME: 5. Otherwise, set state to path state, and decrease pointer by 1. break; // -> file slash state, https://url.spec.whatwg.org/#file-slash-state case State::FileSlash: