Skip to main content

Module url

Module url 

Source
Expand description

WHATWG URL Standard compliant URL parsing for the Oxide browser.

Wraps the url crate (which implements the WHATWG URL spec) and adds Oxide-specific scheme handling (oxide:// for internal pages) alongside standard http, https, and file schemes.

Structs§

OxideUrl

Enums§

UrlError

Functions§

app_origin_of
OxideUrl::app_origin for a raw URL string; falls back to the input when unparseable.
percent_decode
Decode a percent-encoded string.
percent_encode
Percent-encode a string (useful for building URL path/query components).