- From: Terje Bless <link@dev.w3.org>
- Date: Wed, 09 Feb 2005 10:29:21 +0000
- To: www-validator-cvs@w3.org
Update of /sources/public/validator/httpd/cgi-bin In directory hutz:/tmp/cvs-serv8737/httpd/cgi-bin Modified Files: check Log Message: Nuke MSIE warning since it's been fixed on MSFT's end (Hotfix in MS05-014). Index: check =================================================================== RCS file: /sources/public/validator/httpd/cgi-bin/check,v retrieving revision 1.395 retrieving revision 1.396 diff -u -d -r1.395 -r1.396 --- check 6 Feb 2005 03:47:38 -0000 1.395 +++ check 9 Feb 2005 10:29:18 -0000 1.396 @@ -1405,26 +1405,9 @@ . uri_escape $url; exit; } else { - my $msie = ''; $File->{'Error Flagged'} = TRUE; - if ($File->{'Is Upload'} and $ct eq 'text/plain' - and $q->http('User-Agent') eq 'Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322)') { - $msie = <<".EOF."; - - <p id="msie"> - <strong>Note:</strong> - a bug in the version of Microsoft Internet Explorer that comes with - Windows XP Service Pack 2 causes it to mislabel uploaded files as - "<code>text/plain</code>". You can work around this problem by using a - different browser, such as <a - href="http://getfirefox.com/">Firefox</a>, for validating - uploaded files; or by publishing the page in question and validating it - by URL instead. - </p> -.EOF. - } $File->{'Error Message'} = sprintf(<<" EOF", &ent($ct)); - <div class="error">$msie + <div class="error"> <p> Sorry, I am unable to validate this document because its content type is <code>%s</code>, which is not currently supported by this service.
Received on Wednesday, 9 February 2005 10:29:21 UTC