[CLUE-Tech] Perl Question

Lynn Danielson lynnd at techangle.com
Tue Aug 5 15:17:06 MDT 2003


Jesse Flygare wrote:

> I am using RH 9 and just installed the CGI module from CPAN. I created 
> a simple form script and noticed that the CGI functions are converting 
> slashes (/) into hex (%2F) and it is messing up my scripts (for 
> instance $0 will return the script name and path as .%2Fscript.cgi 
> instead of ./script.cgi). Previous versions I have used do not do 
> this. Does anyone know what is going on? How can I stop this conversion?


That's standard cgi encoding.  Run your cgi functions on the form 
variables portion
of your url only and append t to your script name. --Lynn





More information about the clue-tech mailing list