http://www.perlmonks.org?node_id=118068


in reply to Re: CGI-encoded quote characters
in thread CGI-encoded quote characters

Be careful not to escape the whole URL though, you want to leave those slashes intact. Only the query string itself should be escaped.