diff options
author | ot <ot@localhost> | 2005-03-01 19:04:53 +0000 |
---|---|---|
committer | ot <ot@localhost> | 2005-03-01 19:04:53 +0000 |
commit | 4891db14cb7216760b1ca1be5cd1c19f1ec83a90 (patch) | |
tree | 69823a06f29801f605e451834f961951b7e67178 | |
parent | 9f8864f4607062096937a243e67e723427cb383a (diff) | |
download | markup-validator-4891db14cb7216760b1ca1be5cd1c19f1ec83a90.zip markup-validator-4891db14cb7216760b1ca1be5cd1c19f1ec83a90.tar.gz markup-validator-4891db14cb7216760b1ca1be5cd1c19f1ec83a90.tar.bz2 |
nuking redundant code in case doctype override is chosen - see sub override_doctype()
-rwxr-xr-x | httpd/cgi-bin/check | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/httpd/cgi-bin/check b/httpd/cgi-bin/check index 5038bff..bb62f48 100755 --- a/httpd/cgi-bin/check +++ b/httpd/cgi-bin/check @@ -9,7 +9,7 @@ # This source code is available under the license at: # http://www.w3.org/Consortium/Legal/copyright-software # -# $Id: check,v 1.404 2005-02-25 00:25:04 ot Exp $ +# $Id: check,v 1.405 2005-03-01 19:04:53 ot Exp $ # # Disable buffering on STDOUT! @@ -220,7 +220,7 @@ Directory not readable (permission denied): @_r # # Strings - $VERSION = q$Revision: 1.404 $; + $VERSION = q$Revision: 1.405 $; $VERSION =~ s/Revision: ([\d\.]+) /$1/; # @@ -521,8 +521,6 @@ $File = &byte_error($File); if ($File->{Opt}->{DOCTYPE} and not $File->{Opt}->{DOCTYPE} =~ /(Inline|detect)/i) { $File = &override_doctype($File); - &add_warning('W05', {W05_dtd => $File->{Opt}->{DOCTYPE}}); - $File->{Tentative} |= T_ERROR; # Tag it as Invalid. } # @@ -956,6 +954,7 @@ sub add_warning ($$) { $File->{T}->param(have_warnings => TRUE); } + # # Proxy authentication requests. # Note: expects the third argument to be a hash ref (see HTTP::Headers::Auth). |