Re: checklink:

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 UTC