Skip to main content

url_decode

Function url_decode 

Source
pub fn url_decode(input: &str) -> String
Expand description

Decode one application/x-www-form-urlencoded component (a query-string key or value, or a form-body field): + is a space and %XX escapes are decoded on the raw bytes, then read as UTF-8 (lossily). For URI path segments, where + is literal, use crate::path::percent_decode_segment.