Skip to main content

urlencode

Function urlencode 

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

Percent-encodes reserved URI characters. Matches Python’s urllib.parse.quote behavior with / not escaped.

{{ value | urlencode }}