Skip to main content

normalize_host

Function normalize_host 

Source
pub fn normalize_host(host: &str) -> String
Expand description

Normalize host fragments for policy matching (trim whitespace, strip ports/brackets, lowercase).