W3C home > Mailing lists > Public > uri@w3.org > January 2010

Re: When is percent-encoding required.

From: Charles Lindsey <chl@clerew.man.ac.uk>
Date: Wed, 13 Jan 2010 11:25:20 -0000
To: URI <uri@w3.org>
Message-ID: <op.u6gx0iff6hl8nm@clerew.man.ac.uk>
On Tue, 05 Jan 2010 07:12:37 -0000, Martin J. Dürst  
<duerst@it.aoyama.ac.jp> wrote:

> I have difficulties understanding:
>     Characters not directly allowed in this part of an
>     [RFC3986] URI have to be percent-encoded, minimally anything that is
>     not <unreserved>, no ":" (colon), and doesn't belong to the
>     <sub-delims>.
> I think this may be slightly better:
>     Characters not directly allowed in this part of an
>     [RFC3986] URI have to be percent-encoded. This at a minimum includes
>     anything that is not <unreserved>, is not a ":" (colon), and does
>     not belong to the <sub-delims>.

Here is the wording I now propose:

According to [RFC 3968], characters that are in <gen-delims> (a subset of  
<reserved>) MUST be percent-encoded (though it is not wrong to encode  
others). Specifically, the characters allowed in <msg-id-core> that must  
be encoded are
     "/"  "?"  "#"  "[" and "]"
Note that an agent which seeks to interpret a 'news' URI needs to decode  
all these percent-encoded characters before passing it on to an NNTP  
server to be acted upon.

Comments anyone?

Charles H. Lindsey ---------At Home, doing my own thing------------------------
Tel: +44 161 436 6131                       
   Web: http://www.cs.man.ac.uk/~chl
Email: chl@clerew.man.ac.uk      Snail: 5 Clerewood Ave, CHEADLE, SK8 3JU, U.K.
PGP: 2C15F1A9      Fingerprint: 73 6D C2 51 93 A0 01 E7 65 E8 64 7E 14 A4 AB A5
Received on Wednesday, 13 January 2010 11:25:51 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:25:13 UTC