W3C home > Mailing lists > Public > www-validator@w3.org > August 2008

Problem with validating password-protected pages

From: H. Hahn <h.hahn@hahn-informatica.nl>
Date: Sun, 03 Aug 2008 17:07:55 +0200
Message-ID: <4895C9CB.2020002@hahn-informatica.nl>
To: www-validator@w3.org
L.S.,

While developing a website, I wanted to validate a certain page that is 
password-protected. As I was logged in at a sufficiently high level, 
having access to all pages, I tacitly expected the validator to have the 
same rights as its invoker (i.e., me) had.
First of all, I noticed that the validator completed the validation much 
quicker than I was used to. Also, and error and a warning were reported 
that in no way could apply to the page I tried to validate.

Only after I re-validated with displaying the complete source code, I 
found that it had not validated the requested page, but the "Page not 
found" page. Basically, this was correct, as the validator apparently 
was refused access to the page.

However, both the validator's address field and the validation result 
text mentioned the correct URL of the original page, without any mention 
of the "Page not found" page.

As I see it, it would be better -- and more correct as well -- when in 
such a case the validator would report something like:
/"You requested validation of page 
'www.domain.com?id=pagetwentyfive&blahblabla'. However, the validator 
found itself redirected to page 'www.domain.com/pagenotfound.php'. For 
the latter page, the validation results were:..."/
Would it perhaps be a good suggestion if you change this? After all, 
when a browser is redirected this way, its address field does show the 
URL of the page actually shown. So this information is available at the 
moment the report is being compiled and the two URLs can simply be compared.

Thank you very much in advance.

Sincerely,
Hahn Informatica
Ir. H. Hahn
Braak 48
NL-5501DK  Veldhoven
Nederland / Niederlande / Netherlands
Tel. +31 40 2300161
Fax +31 40 2300163
E-mail: h.hahn@hahn-informatica.nl
Website: www.hahn-informatica.nl
BTW/MWSt/VAT: NL 092 081 046 B01
KvK/IHK/RC: NL 170 62224
Received on Sunday, 3 August 2008 15:08:32 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 25 April 2012 12:14:30 GMT