v10.13.0
Percent encodes any special characters in a URI. URI escape normally replaces a space with %20
. Reserved characters will not be escaped.
Input
{{ "https://example.com/?q=foo, \bar?" | uri_escape }}
Output
https://example.com/?q=foo,%20%5Cbar?