Hi there,
I just found a bug in CGI.pm for version 2.1.2
It's this:
1. When we call for <%escape_url theurltoescape%> it turns a cgi url into something like this:
url=http%3A%2F%2Fmydomain.com%2Fcgi-bin%2Fsiteman%2Fpage.cgi%3Fd%3D1%3Bcollect%3D54%3BCollection_CatID%3D21
when I ask for the escaped url that was sent in from a previous page
it returns (two ?marks instead of just one, and the url becomes useless.)
Here's what the above line returns as:
http://mydomain.com/...;Collection_CatID=21
I fixed the problem by adding the following line to CGI.pm sub unescape { line 448
$str =~ s/\?+/\?/g;
That seems took have taken care of the problem.
Hope that's useful to someone else.
peace.
klangan
I just found a bug in CGI.pm for version 2.1.2
It's this:
1. When we call for <%escape_url theurltoescape%> it turns a cgi url into something like this:
url=http%3A%2F%2Fmydomain.com%2Fcgi-bin%2Fsiteman%2Fpage.cgi%3Fd%3D1%3Bcollect%3D54%3BCollection_CatID%3D21
when I ask for the escaped url that was sent in from a previous page
it returns (two ?marks instead of just one, and the url becomes useless.)
Here's what the above line returns as:
http://mydomain.com/...;Collection_CatID=21
I fixed the problem by adding the following line to CGI.pm sub unescape { line 448
$str =~ s/\?+/\?/g;
That seems took have taken care of the problem.
Hope that's useful to someone else.
peace.
klangan