[Nfd-dev] How to treat ".." in an NDN URI?

Thompson, Jeff jefft0 at remap.ucla.edu
Tue Aug 5 02:51:07 PDT 2014


The TLV specification for the NDN URI scheme says "To unambiguously represent name components that would collide with the use of . and .. for relative URIs, any component that consists solely of one or more periods is encoded using three additional periods.".
http://named-data.net/doc/ndn-tlv/name.html#ndn-uri-scheme

If an NDN URI uses the "relative" value of "..", how should the URI be decoded.  Specifically, should it be treated as "up one level" like in a Unix path?  For example, should the URI "/a/b/../c" be decoded as the name "/a/c"?

(This question comes from an issue on the ndn-js Redmine: http://redmine.named-data.net/issues/1818 ).

Thanks,
- Jeff T
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.lists.cs.ucla.edu/pipermail/nfd-dev/attachments/20140805/a2552a40/attachment.html>


More information about the Nfd-dev mailing list