mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-30 20:59:16 +00:00
LibURL: Publicly expose ability to parse a host
This is used by the HTML specification.
This commit is contained in:
parent
c5eca713e9
commit
1f4bbc2bfb
Notes:
github-actions[bot]
2025-06-27 06:47:11 +00:00
Author: https://github.com/shannonbooth
Commit: 1f4bbc2bfb
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/5221
2 changed files with 3 additions and 1 deletions
|
@ -65,6 +65,8 @@ public:
|
|||
|
||||
// https://url.spec.whatwg.org/#shorten-a-urls-path
|
||||
static void shorten_urls_path(URL&);
|
||||
|
||||
static Optional<Host> parse_host(StringView input, bool is_opaque = false);
|
||||
};
|
||||
|
||||
#undef ENUMERATE_STATES
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue