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

dmn at users.alioth.debian.org dmn at users.alioth.debian.org
Wed Jan 2 12:19:39 UTC 2008


Author: dmn
Date: Wed Jan  2 12:19:39 2008
New Revision: 11907

URL: http://svn.debian.org/wsvn/?sc=1&rev=11907
Log:
Declare changelog snippet as text/html as it is not valid xhtml (avoids FF error in the Error Colsole)

Modified:
    scripts/qa/qareport-chlog.cgi

Modified: scripts/qa/qareport-chlog.cgi
URL: http://svn.debian.org/wsvn/scripts/qa/qareport-chlog.cgi?rev=11907&op=diff
==============================================================================
--- scripts/qa/qareport-chlog.cgi (original)
+++ scripts/qa/qareport-chlog.cgi Wed Jan  2 12:19:39 2008
@@ -22,15 +22,8 @@
 
 if( $ENV{GATEWAY_INTERFACE} )
 {
-    my $htmlp = $cgi->Accept("text/html");
-    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/html; charset=utf-8',
     );
 }
 




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