From: endico%mozilla.org <> Date: Fri, 2 Jun 2000 06:09:14 +0000 (+0000) Subject: added comment to value_quote referencing bugs with quoting linebreaks X-Git-Tag: bugzilla-2.12~288 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5c2876537ca23508a64d95e29183e968aa6c3581;p=thirdparty%2Fbugzilla.git added comment to value_quote referencing bugs with quoting linebreaks --- diff --git a/CGI.pl b/CGI.pl index 2e782b6dad..085b31cf30 100644 --- a/CGI.pl +++ b/CGI.pl @@ -251,6 +251,9 @@ sub value_quote { $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;