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

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 UTC