From 5c2876537ca23508a64d95e29183e968aa6c3581 Mon Sep 17 00:00:00 2001 From: "endico%mozilla.org" <> Date: Fri, 2 Jun 2000 06:09:14 +0000 Subject: added comment to value_quote referencing bugs with quoting linebreaks --- CGI.pl | 3 +++ 1 file changed, 3 insertions(+) (limited to 'CGI.pl') diff --git a/CGI.pl b/CGI.pl index 2e782b6da..085b31cf3 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; -- cgit v1.2.3-24-g4f1b