W3C home > Mailing lists > Public > www-validator-cvs@w3.org > March 2009

validator/httpd/cgi-bin check,1.653,1.654

From: Ville Skytta via cvs-syncmail <cvsmail@w3.org>
Date: Tue, 17 Mar 2009 18:03:45 +0000
To: www-validator-cvs@w3.org
Message-Id: <E1Ljddh-0000eJ-DC@lionel-hutz.w3.org>
Update of /sources/public/validator/httpd/cgi-bin
In directory hutz:/tmp/cvs-serv2479/httpd/cgi-bin

Modified Files:
	check 
Log Message:
Improve handling of responses with no Content-Type.

Index: check
===================================================================
RCS file: /sources/public/validator/httpd/cgi-bin/check,v
retrieving revision 1.653
retrieving revision 1.654
diff -u -d -r1.653 -r1.654
--- check	17 Mar 2009 16:50:32 -0000	1.653
+++ check	17 Mar 2009 18:03:43 -0000	1.654
@@ -1720,7 +1720,7 @@
   my ($mode, $ct, $charset)
     = &parse_content_type(
                           $File,
-                          $res->header('Content-Type'),
+                          scalar($res->header('Content-Type')),
                           scalar($res->request->uri),
                          );
 
Received on Tuesday, 17 March 2009 18:03:53 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 17 March 2009 18:03:54 GMT