pub fn url_encode(input: &str) -> String
Percent-encode a string for safe inclusion in URL components.