[Bug 805] Validator feature lost, protected student Web sites can no longer be validated via URI validator

http://www.w3.org/Bugs/Public/show_bug.cgi?id=805





------- Additional Comments From bjoern@hoehrmann.de  2004-06-18 19:29 -------
Looking at the code, there are a number of flaws,

  ...
  $authHeader =~ s( realm=([\'\"])?([^\1]+)\1){ realm="$realm-$2"};
  ...

This cannot work as expected as the \1 is not evaluated inside the [^...], the 
next flaw is

  ...
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
  "http://www.w3.org/TR/1999/REC-html401-19991224/loose.dtd">
  <html lang="en" xml:lang="en">
  ...

I removed the xml:lang="en" as it is not allowed in HTML 4.01, then

  ...
    <p>
      The URL you specified, &lt;<a href="$resource">$resource</a>&gt;,
      returned a 401 "authorization required" response when I tried
      to download it.
    </p>
  ...

$resource must be passed to ent(...) so that special characters get escaped.



------- You are receiving this mail because: -------
You are the QA contact for the bug, or are watching the QA contact.

Received on Friday, 18 June 2004 19:29:53 UTC