W3C home > Mailing lists > Public > uri@w3.org > December 2004

Re: test case: colons in paths?

From: Martin Duerst <duerst@w3.org>
Date: Wed, 15 Dec 2004 14:09:57 +0900
Message-Id: <>
To: Tim Berners-Lee <timbl@w3.org>, "Roy T. Fielding" <fielding@gbiv.com>
Cc: Dan Connolly <connolly@w3.org>, uri@w3.org

There is an example already in the spec, the first one.
I have added another (reverse) example at
See test cases 1 and 81.

Please propose any other test cases that you think are of interest.

If you want me to set up a file that actually contains a colon,
that's easy to do (except on a Mac, where the colon is the
directory separator).

Regards,     Martin.

At 06:47 04/12/14, Tim Berners-Lee wrote:
 >Roy, can you point to a test case for that?
 >On Dec 13, 2004, at 16:40, Roy T. Fielding wrote:
 >> On Dec 13, 2004, at 12:35 PM, Dan Connolly wrote:
 >>> What happens if you put a colon in a path, esp
 >>> in refTo()?
 >> http://gbiv.com/protocols/uri/rev-2002/rfc2396bis.html#relative-ref
 >> (last paragraph of Section 4.2)
 >>    A path segment that contains a colon character (e.g., "this:that")
 >>    cannot be used as the first segment of a relative-path reference
 >>    because it would be mistaken for a scheme name.  Such a segment must
 >>    be preceded by a dot-segment (e.g., "./this:that") to make a
 >>    relative-path reference.
 >> ....Roy
Received on Wednesday, 15 December 2004 05:19:00 UTC

This archive was generated by hypermail 2.4.0 : Sunday, 10 October 2021 22:17:46 UTC