Commit 9e3652ab authored by dave%intrec.com's avatar dave%intrec.com

Fix for bug 32000 (and refixing bug 4928): extra newlines in comments made

with NS4-Mac
parent be610ad9
......@@ -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;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment