diff options
author | endico%mozilla.org <> | 2000-06-02 08:09:14 +0200 |
---|---|---|
committer | endico%mozilla.org <> | 2000-06-02 08:09:14 +0200 |
commit | 5c2876537ca23508a64d95e29183e968aa6c3581 (patch) | |
tree | 1c25b5bdc56262626795daf59014c04c2126b257 /CGI.pl | |
parent | 80d6161acf54b6d54a7bf92d694055935cf93c9d (diff) | |
download | bugzilla-5c2876537ca23508a64d95e29183e968aa6c3581.tar.gz bugzilla-5c2876537ca23508a64d95e29183e968aa6c3581.tar.xz |
added comment to value_quote referencing bugs with quoting linebreaks
Diffstat (limited to 'CGI.pl')
-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; |