Commit b50ddb43 authored by myk%mozilla.org's avatar myk%mozilla.org

Fix for bug 265240: make collectstats generate valid RDF by not cutting off the…

Fix for bug 265240: make collectstats generate valid RDF by not cutting off the opening RDF tag; r=kiko, a=myk
parent f99b4377
...@@ -103,7 +103,7 @@ CollectSeriesData(); ...@@ -103,7 +103,7 @@ CollectSeriesData();
my $headers_done = 0; my $headers_done = 0;
while (<CGI>) { while (<CGI>) {
print RDF if $headers_done; print RDF if $headers_done;
$headers_done = 1 if $_ eq "\n"; $headers_done = 1 if $_ eq "\r\n";
} }
close CGI; close CGI;
close RDF; close RDF;
......
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