diff options
-rw-r--r-- | CGI.pl | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -251,6 +251,9 @@ sub value_quote { $var =~ s/</\</g; $var =~ s/>/\>/g; $var =~ s/"/\"/g; + # See bug http://bugzilla.mozilla.org/show_bug.cgi?id=4928 for + # explanaion of why bugzilla does this linebreak substitution. + # This caused form submission problems in mozilla (bug 22983, 32000). $var =~ s/\n/\
/g; $var =~ s/\r/\
/g; return $var; |