Skip to main content

url_is_under

Function url_is_under 

Source
pub fn url_is_under(base_url: &str, listed: &str) -> bool
Expand description

Whether base_url is listed or below it: same scheme, host and port, and the path of listed is a prefix at a segment boundary.