Skip to main content

urlencode_strict

Function urlencode_strict 

Source
pub fn urlencode_strict(val: &str, _: Kwargs, _: &State<'_, '_>) -> String
Expand description

Percent-encodes all non-alphanumeric characters. Stricter than urlencode - also encodes / and other typically safe characters.

{{ value | urlencode_strict }}