Skip to main content

below_origin

Function below_origin 

Source
pub fn below_origin(url: &str, origin: &str) -> bool
Expand description

Whether url is a plain link below origin (same scheme, host and port; no whitespace or control characters).