Subject: | Escaping form "action" confuses Mozilla |
I gather you added a cross-site scripting fix to CGI.pm 2.99. However the escaping of the default form action causes Mozilla and IE to submit the form to the wrong location.
e.g. if the following URL generates a form (with "start_form") but does not specify an "-action" acttribute:
http://foo/bar/test.cgi
then the form will have the following action:
CGI.pm 2.98 action="/bar/test.cgi"
CGI.pm 2.99 action="%2Fbar%2Ftest.cgi"
The 2.99 version causes the browser to submit to the form to:
http://foo/bar/2Fbar%2Ftest.cgi
I guess the $action=escape($action) at line 1648 is not quite what you want.
Gavin
Tested with perl 5.6.0 5.6.1 and 5.8 on Solaris, Linux and OpenBSD