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
1 | {{ "https://example.com/?q=foo, \bar?" | uri_escape }} |
Output
1 | https://example.com/?q=foo,%20%5Cbar? |