diff options
-rwxr-xr-x | httpd/cgi-bin/check | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/httpd/cgi-bin/check b/httpd/cgi-bin/check index 7113715..d38202a 100755 --- a/httpd/cgi-bin/check +++ b/httpd/cgi-bin/check @@ -14,7 +14,7 @@ # This source code is available under the license at: # http://www.w3.org/Consortium/Legal/copyright-software # -# $Id: check,v 1.563 2007-09-11 05:02:21 ot Exp $ +# $Id: check,v 1.564 2007-09-11 05:34:13 ot Exp $ # # Disable buffering on STDOUT! @@ -186,7 +186,7 @@ Directory not readable (permission denied): @_r # # Strings - $VERSION = q$Revision: 1.563 $; + $VERSION = q$Revision: 1.564 $; $VERSION =~ s/Revision: ([\d\.]+) /$1/; # @@ -1431,6 +1431,11 @@ sub parse_content_type { 'http://jigsaw.w3.org/css-validator/validator?uri=' . uri_escape $url; exit; + } elsif ($ct =~ m(application/atom\+xml) and defined $url) { + print redirect + 'http://validator.w3.org/feed/check.cgi?url=' + . uri_escape $url; + exit; } else { $File->{'Error Flagged'} = TRUE; $File->{Templates}->{Error}->param(fatal_mime_error => TRUE); |