- From: Roy T. Fielding <fielding@gbiv.com>
- Date: Thu, 18 Nov 2004 23:57:39 -0800
- To: "Martin Balaz" <balaz@ii.fmph.uniba.sk>
- Cc: <uri@w3.org>
On Nov 18, 2004, at 9:17 AM, Martin Balaz wrote: > I would like to discuss one old problem of the remove_dot_segments > function, > which is not yet solved as I know. > > Following URIs are valid with the respect to the latest rfc2396bis: No, they are allowed by the syntax. They are not valid. The path segments "." and "..", also known as dot-segments, are defined for relative reference within the path name hierarchy. They are intended for use at the beginning of a relative-path reference (Section 4.2) for indicating relative position within the hierarchical tree of names. This is similar to their role within some operating systems' file directory structure to indicate the current directory and parent directory, respectively. However, unlike a file system, these dot-segments are only interpreted within the URI path hierarchy and are removed as part of the resolution process (Section 5.2). It doesn't matter what is the result of processing > file:/x/..//y > file:x/..//y/ because those are not valid file URIs. ....Roy
Received on Friday, 19 November 2004 07:58:28 UTC