Re: When is percent-encoding required.

>>> When I said "URI parsers" I specifically meant the parser itself — as
>>> in, the parser won't misinterpret some component as something other
>>> than what it is, and the value of all components will be available to
>>> the application.  As Martin said, those characters aren't really
>>> supposed to show up in a URI and have to be encoded.  Browsers that
>>> figure out what you meant and encode the URI before sending it are
>>> following Postel's law and, in my opinion, doing the right thing.
>>
>> I do not know what browsers are supposed to do but if that is the
>> right thing, then it does not work with the NNTP protocol.
>
> But nobody is expecting it to be sent to NNTP in that form. Whoever/whatever
> interprets that URI (possibly a browser) should decode it, then open an NNTP
> dialog with the NNTP server, and then send the article with the funny
> characters already decoded. Perhaps I should mention that in the RFC.

Exactly.  And yes, I would be inclined to make it explicit.

-Bob

Received on Sunday, 10 January 2010 18:31:37 UTC