I’m writing my first nginx module. The module at some point uses the
“Location” header to redirect to user to a landing page. The redirected
url has many arguments which could potentially contain spaces, slashes
or any other non-alphabetic chars.
Is there a function that’ll escape then and convert them to %20, %2f and
so on?