mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-06-11 18:20:43 +09:00
LibURL: Rename 'cannot have a base URL' to 'has an opaque path'
This follows a rename made in the URL specification.
This commit is contained in:
parent
6b85748f53
commit
3f73cd30a2
Notes:
github-actions[bot]
2025-04-06 12:28:23 +00:00
Author: https://github.com/shannonbooth
Commit: 3f73cd30a2
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/3847
Reviewed-by: https://github.com/trflynn89
8 changed files with 40 additions and 38 deletions
|
@ -243,7 +243,7 @@ ErrorOr<HttpRequest, HttpRequest::ParseError> HttpRequest::from_raw_request(Read
|
|||
return ParseError::InvalidURL;
|
||||
};
|
||||
|
||||
request.m_url.set_cannot_be_a_base_url(true);
|
||||
request.m_url.set_has_an_opaque_path(true);
|
||||
if (url_parts.size() == 2) {
|
||||
request.m_resource = url_parts[0];
|
||||
request.m_url.set_paths({ url_parts[0] });
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue