Project

General

Profile

Actions

Bug #4485

closed

NDN URI spec defines + instead of ~ as unreserved

Added by Junxiao Shi almost 7 years ago. Updated over 6 years ago.

Status:
Closed
Priority:
Normal
Start date:
Due date:
% Done:

100%

Estimated time:

Description

RFC 3986 defines tilde (~) as an unreserved character and the plus sign (+) as a reserved one.

  reserved    = gen-delims / sub-delims

  gen-delims  = ":" / "/" / "?" / "#" / "[" / "]" / "@"

  sub-delims  = "!" / "$" / "&" / "'" / "(" / ")"
              / "*" / "+" / "," / ";" / "="

  unreserved  = ALPHA / DIGIT / "-" / "." / "_" / "~"

However, the NDN URI encoding escapes (percent-encodes) the tilde but not the plus sign.


Related issues 1 (0 open1 closed)

Blocks ndn-cxx - Bug #4484: Component::toUri escapes ~ instead of +ClosedDavide Pesavento02/01/2018

Actions
Actions

Also available in: Atom PDF