[Date Prev][Date Next][Thread Prev][Thread Next] [Search] [Date Index] [Thread Index]

[MacPerl] Maybe I missed this



I have not found any references to this problem so I'm hoping someone
else has run into this and can help me out. Thanks in advance.

I'm writing a macperl script to read the QUERY_STRING so I can use the
GET method of form transfer. So I use this:

print "Content-type: text/html\n\n";
$query=$ENV{"QUERY_STRING"};
print "Server sees: $query";

which is supposed to show me the URL encoded data transfer. The problem
is that the data is not URL encoded. If I use special characters in the
form it shows me the character and not %XX. This would not pose a
problem except that if I use an ampersand (&) in the form it will cause
my split to create an additional erroneous data field.
I am using MacPERL 5.1.4r4 and I don't think that it is a problem that I
caused with server miss-settings or anything else.
Thanks for your help.
Ron Northrip

ron@tjpa.com


***** Want to unsubscribe from this list?
***** Send mail with body "unsubscribe" to mac-perl-request@iis.ee.ethz.ch