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

Re: Relative URI reference resolution broken in CSS validator?

From: Thomas Roessler <tlr@w3.org>
Date: Fri, 14 Mar 2008 13:55:16 +0100
To: olivier Thereaux <ot@w3.org>
Cc: W3C Validator Community <www-validator@w3.org>
Message-ID: <20080314125516.GK99946@iCoaster.does-not-exist.org>

On 2008-03-14 08:47:49 -0400, olivier Thereaux wrote:

>> I erroneously had this stylesheet link in a document:

>>  <link rel="stylesheet" type="text/css"
>>  	href="/../../2005/10/w3cdoc.css" />

> Shouldn't that be
> href="../../2005/10/w3cdoc.css" ?

Yes.  However, for relative URI references, leading ".." segments
are absorbed into a leading /, unless I get something seriously
wrong here.

-- 
Thomas Roessler, W3C  <tlr@w3.org>
Received on Friday, 14 March 2008 12:55:54 GMT

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