mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-21 23:20:20 +00:00
LibURL: Update spec comment for validation error in authority state
See: https://github.com/whatwg/url/commit/3e8cd02bb
This commit is contained in:
parent
84a7fead0e
commit
84a09476ba
Notes:
github-actions[bot]
2024-08-10 08:47:34 +00:00
Author: https://github.com/shannonbooth Commit: https://github.com/LadybirdBrowser/ladybird/commit/84a09476ba9 Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/1023 Reviewed-by: https://github.com/awesomekling
1 changed files with 1 additions and 1 deletions
|
@ -1237,7 +1237,7 @@ URL Parser::basic_parse(StringView raw_input, Optional<URL> const& base_url, Opt
|
|||
|| (url->is_special() && code_point == '\\')) {
|
||||
// then:
|
||||
|
||||
// 1. If atSignSeen is true and buffer is the empty string, invalid-credentials validation error, return failure.
|
||||
// 1. If atSignSeen is true and buffer is the empty string, host-missing validation error, return failure.
|
||||
if (at_sign_seen && buffer.is_empty()) {
|
||||
report_validation_error();
|
||||
return {};
|
||||
|
|
Loading…
Reference in a new issue