[jcifs] Re: SMB URL encoding/decoding

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


On Sat, 23 Feb 2002 23:52:55 -0600
"Christopher R. Hertel" <crh at ubiqx.org> wrote:

> Michael B Allen wrote:
> :
> > Actually it should look for the '/' like you describe but then search
> > *backwords* from there for the '@' so that even if there are more than
> > one '@' it will still work because '@' will not appear in the server
> > name.
<snip> 
> > This way, only an unescaped '/' in the password would cause it to
> > fail.

Correction: An unescaped '%' would also cause it to fail because we
have to URL decode regardless of how forgiving the parser is and the
'%' might be interpreted as the beginning of an escape.

Mike

-- 
May The Source be with you.




More information about the jcifs mailing list