Welcome! Log In Create A New Profile

Advanced

encode url

November 26, 2010 04:51AM
Hi,

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?

Thanks.
Subject Author Posted

encode url

pattryn November 26, 2010 04:51AM

Re: encode url

mgutt January 18, 2011 02:52AM

Re: encode url

mgutt January 24, 2011 04:07AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 313
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready