Re: Dot Dot Slash notation checked by Link Checker

This has swerved off-topic, however the better way to refer to the 
images is "/img/image.jpg" - else you run into trouble when you move the 
page within the document tree.

Anyway, *why* would you want the validator to ignore these entries? an 
image tag is an image tag... and it should have a src attribute 
assocciated with it. The validator doesn't care if you have named a 
non-existant file in that src attribute, not where it is... so long as 
the string is a valid URI format, the validator should be happy

Ville Skyttä wrote:
> There should be no reason to ignore such links, and there's nothing
> wrong with using "../img/image.jpg" in http://myhost.com/dir1/index.html
> in order to link to http://myhost.com/img/image.jpg.
> 
> If possible, please post a concrete public URL where you think the link
> checker misbehaves so it can be examined.


-- 

Ian Stuart.
Bibliographics and Multimedia Service Delivery team,
EDINA,
The University of Edinburgh.

http://edina.ac.uk/

Received on Thursday, 4 May 2006 08:57:29 UTC