diff options
author | dave%intrec.com <> | 2001-01-17 06:09:33 +0100 |
---|---|---|
committer | dave%intrec.com <> | 2001-01-17 06:09:33 +0100 |
commit | 9e3652ab9c1add7c21f818f6d6d9cf26b4b78ba3 (patch) | |
tree | 0d3147196e5705dc8ff4717e2a58f53cec51c2de /CGI.pl | |
parent | be610ad922aae00d50bd297fb0dc76a7566ec31f (diff) | |
download | bugzilla-9e3652ab9c1add7c21f818f6d6d9cf26b4b78ba3.tar.gz bugzilla-9e3652ab9c1add7c21f818f6d6d9cf26b4b78ba3.tar.xz |
Fix for bug 32000 (and refixing bug 4928): extra newlines in comments made
with NS4-Mac
Diffstat (limited to 'CGI.pl')
-rw-r--r-- | CGI.pl | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -262,8 +262,10 @@ sub value_quote { # 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\n/\
/g; + $var =~ s/\n\r/\
/g; $var =~ s/\r/\
/g; + $var =~ s/\n/\
/g; return $var; } |