DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://nagoya.apache.org/bugzilla/show_bug.cgi?id=25969>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE.
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=25969 smartquotes when sent from IE break CGI Summary: smartquotes when sent from IE break CGI Product: Apache httpd-2.0 Version: 2.0.48 Platform: PC OS/Version: Linux Status: NEW Severity: Normal Priority: Other Component: mod_cgi AssignedTo: [email protected] ReportedBy: [EMAIL PROTECTED] This may actually be a bug in IE 5.5, but something in apache 1.3 deals with it, but it's not working in 2.0.48. My platform is RedHat Linux 7.3 on i386. When we have a text entry box in a form, and a user cuts & pastes text into the text box, that contains 'smart quotes', the first form variable is lost when passed to a CGI script. This only happens when the ENCTYPE is "multipart/form-data" A perl test case shows the fault : #!/usr/bin/perl use CGI; my $q = new CGI; print $q->header('text/html'); #print "Content-type: text/html\n\n"; my $hidden = "hidden"; my $text = "text"; my $checkbox; if ($q->param('hidden')) { $hidden = $q->param('hidden'); $text = $q->param('text'); $checkbox = $q->param('checkbox'); } print qq { <FORM METHOD=POST ENCTYPE="multipart/form-data" action="testform.pl"> <INPUT TYPE="text" NAME="text" VALUE="$text"> <INPUT TYPE="hidden" NAME="hidden" VALUE="$hidden"> <INPUT TYPE="checkbox" NAME="checkbox" VALUE="checkbox"> <INPUT TYPE="submit" VALUE="run"> </FORM> }; my @names = $q->param; foreach my $name (@names) { my $param = $q->param($name); print "$name : $param<BR>\n"; } If the checkbox is selected, all the variables come through ok, but if it's not, the smartquotes break something and the script never sees the hidden form variable. The problem does not exist with Mozilla 1.5 or 1.6b, or Apache 1.3.x, only with 2.0(.48) and IE 5.5 (I haven't tested on IE 6 or any other browsers). As above, this may be an IE 5.5 problem, but something in apache 1.3 deals with it, but it's broken in 2.0.48 --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
