pub fn substitute_cookies(template: &str, cookies: &CookieMap) -> StringExpand description
Replaces %KEY% placeholders in a template with values from the cookie map.
§Security
Uses single-pass scanning to prevent cascade expansion (second-order injection).