mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-22 07:30:19 +00:00
AK: Correct logic in file state decrementing a path in URL basic parsing
This commit is contained in:
parent
983441b67f
commit
4dd4ff68d3
Notes:
sideshowbarker
2024-07-17 06:20:50 +09:00
Author: https://github.com/shannonbooth Commit: https://github.com/SerenityOS/serenity/commit/4dd4ff68d3 Pull-request: https://github.com/SerenityOS/serenity/pull/19787
1 changed files with 5 additions and 1 deletions
|
@ -803,8 +803,12 @@ URL URLParser::parse(StringView raw_input, Optional<URL> 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:
|
||||
|
|
Loading…
Reference in a new issue