Update of /sources/public/validator/httpd/cgi-bin In directory hutz:/tmp/cvs-serv7546/httpd/cgi-bin Modified Files: check Log Message: Be more lenient about whitespace and linefeeds in Content-Type (#3574). Index: check =================================================================== RCS file: /sources/public/validator/httpd/cgi-bin/check,v retrieving revision 1.459 retrieving revision 1.460 diff -u -d -r1.459 -r1.460 --- check 1 Aug 2006 06:10:52 -0000 1.459 +++ check 5 Aug 2006 09:42:21 -0000 1.460 @@ -1051,8 +1051,7 @@ my $url = shift; my $charset = ''; - # @@FIXME @param now unused - my ($ct, @param) = split /\s*;\s*/, lc $Content_Type; + my ($ct) = lc($Content_Type) =~ /^\s*([^\s;]*)/g; my $mode = $CFG->{MIME}->{$ct} || $ct;Received on Saturday, 5 August 2006 09:42:30 UTC
This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 23:02:18 UTC