Skip to main content

triple_url_encode

Function triple_url_encode 

Source
pub fn triple_url_encode(payload: impl AsRef<[u8]>) -> String
Expand description

Triple URL encoding — every byte becomes %2525XX.

For WAFs that decode URL encoding twice before rule matching. Detects existing %2525XX sequences to avoid quadruple-encoding. Single-encoded (%XX) and double-encoded (%25XX) sequences are both converted to %2525XX (triple-encoded form).