> -----Original Message----- > From: John Brooking [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, May 01, 2002 1:49 PM > To: Beginners CGI > Subject: Does CGI.pm have escapeURL? > > > Does CGI.pm have some kind of URL escape function, > similar to escapeHTML? I couldn't find any > documentation on it in "perldoc CGI", and I tried the > obvious, "escapeURL", with negative results. > > I suppose that the reason there is no obvious function > for this is if you have a form submitted with GET, the > escaping happens automatically. But what I need to do > is build my own query string to redirect to, so I need > to do the escaping myself. I know what the algorithm > is and have even done it before, but if CGI.pm > provides it, I should be using that one, right? > > - John
The URI::Escape module provides this. Part of the LWP distribution, IIRC. -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]