r9242 - /scripts/qa/qareport-chlog.cgi

dmn at users.alioth.debian.org dmn at users.alioth.debian.org
Mon Nov 12 21:29:09 UTC 2007


Author: dmn
Date: Mon Nov 12 21:29:08 2007
New Revision: 9242

URL: http://svn.debian.org/wsvn/?sc=1&rev=9242
Log:
We actually return plain text

Modified:
    scripts/qa/qareport-chlog.cgi

Modified: scripts/qa/qareport-chlog.cgi
URL: http://svn.debian.org/wsvn/scripts/qa/qareport-chlog.cgi?rev=9242&op=diff
==============================================================================
--- scripts/qa/qareport-chlog.cgi (original)
+++ scripts/qa/qareport-chlog.cgi Mon Nov 12 21:29:08 2007
@@ -26,11 +26,7 @@
     my $xhtmlp = $cgi->Accept("application/xhtml+xml");
 
     print $cgi->header(
-        -content_type   => (
-            ($xhtmlp and $xhtmlp > $htmlp)
-            ? 'application/xhtml+xml; charset=utf-8'
-            : 'text/html; charset=utf-8'
-        ),
+        -content_type   => 'text/plain; charset=utf-8',
     );
 }
 




More information about the Pkg-perl-cvs-commits mailing list