]> git.ipfire.org Git - thirdparty/bugzilla.git/commitdiff
added comment to value_quote referencing bugs with quoting linebreaks
authorendico%mozilla.org <>
Fri, 2 Jun 2000 06:09:14 +0000 (06:09 +0000)
committerendico%mozilla.org <>
Fri, 2 Jun 2000 06:09:14 +0000 (06:09 +0000)
CGI.pl

diff --git a/CGI.pl b/CGI.pl
index 2e782b6dad34211692546f1c02dae758aa1a999d..085b31cf30c4c8e8eb1e431cf9688435e0f38ccf 100644 (file)
--- a/CGI.pl
+++ b/CGI.pl
@@ -251,6 +251,9 @@ sub value_quote {
     $var =~ s/</\&lt;/g;
     $var =~ s/>/\&gt;/g;
     $var =~ s/"/\&quot;/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/\&#010;/g;
     $var =~ s/\r/\&#013;/g;
     return $var;