mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 10:18:11 +00:00
AK: Correct logic in file state decrementing a path in URL basic parsing
This commit is contained in:
parent
983441b67f
commit
4dd4ff68d3
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;
|
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;
|
break;
|
||||||
// -> file slash state, https://url.spec.whatwg.org/#file-slash-state
|
// -> file slash state, https://url.spec.whatwg.org/#file-slash-state
|
||||||
case State::FileSlash:
|
case State::FileSlash:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue