Skip to main content

normalize_pathname

Function normalize_pathname 

Source
pub fn normalize_pathname(request_url: &str, base_path: &str) -> String
Expand description

Normalize a request URL pathname by removing the auth base path and trailing slashes.