Re: validator/httpd/cgi-bin check,1.391,1.392

* Terje Bless wrote:
>+#
>+# Check recursion level and enforce Max Recursion limit.
>+sub check_recursion ($$) {
>+  my $File = shift;
>+  my $res  = shift;
>+
>+  # Not looking at our own output.
>+  return unless defined $res->header('X-W3C-Validator-Recursion');

I am not fond of this introduction of experimental HTTP headers, I think
we should rather check the URL of the target document against the check
URL. I further think that refusal to check the validator output is a bad
idea (we, after all, link to that in the results page), so the default
should be to limit two or at least one recursion.
-- 
Björn Höhrmann · mailto:bjoern@hoehrmann.de · http://bjoern.hoehrmann.de
Weinh. Str. 22 · Telefon: +49(0)621/4309674 · http://www.bjoernsworld.de
68309 Mannheim · PGP Pub. KeyID: 0xA4357E78 · http://www.websitedev.de/ 

Received on Saturday, 5 February 2005 21:07:59 UTC