We've been making changes to how we organize and display our docs. Our work isn't done but we'd love your feedback.

urlencode()

Encodes a string for use in a URL. This is also known as percent-encoding. For example, urlencode("hello world"); will return "hello%20world".

Format

STRING
urlencode(STRING input)

Examples

1
set req.url = req.url "?cookie=" urlencode(req.http.Cookie);