W3C home > Mailing lists > Public > www-validator@w3.org > October 2001

Re: checklink:

From: Tim Bagot <tsb-w3-validator-0006@earth.li>
Date: Fri, 12 Oct 2001 21:51:33 +0000 (UTC)
To: "www-validator@w3.org" <www-validator@w3.org>
Message-ID: <Pine.LNX.4.33.0110122146290.1629-100000@windle.cipe>
At 2001-10-12T00:42+0200, Bjoern Hoehrmann wrote:-

> RFC 2396 requires checklink to do as it does, looking for
> http://www.foo.com/../images/image.gif is the only accurate thing to do.

Not quite:-

      g) If the resulting buffer string still begins with one or more
         complete path segments of "..", then the reference is
         considered to be in error.  Implementations may handle this
         error by retaining these components in the resolved path (i.e.,
         treating them as part of the final URI), by removing them from
         the resolved path (i.e., discarding relative levels above the
         root), or by avoiding traversal of the reference.

For checklink I would favour the third option, with an appropriate error
message.


Tim Bagot
Received on Friday, 12 October 2001 17:51:36 GMT

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