[jcifs] Re: SMB URL encoding/decoding

Michael B Allen mballen at erols.com
Mon Feb 25 06:49:56 EST 2002

On Sun, 24 Feb 2002 15:34:30 +0100
James Nord <teilo at teilo.net> wrote:

> Always be strict on forming and forgiving on parsing.

Good advice.

> >A note... I looked all through the RFC and found nothing about translating
> >the '+' into a space.  Annoying, as I know it was there in the early days.
> >
> Is this not just special for form data in HTTP?  I don't recall seeing 
> this escape sequence in a path before. (not really important now in any 
> case)

That's entirely possible. I just tried some basic searches on the topic
on google but nothing really jumped out at me. Regardless, I don't think
we should encode or decode '+' at all because we have to run
all URLs through the decoder regardless and '+' is natrually common. So
the plus issue is somewhat moot. See other post in same thread.


> /James

May The Source be with you.

More information about the jcifs mailing list