[jcifs] Re: SMB URL encoding/decoding

Michael B Allen mballen at erols.com
Sun Feb 24 14:24:33 EST 2002


On Sun, 24 Feb 2002 04:01:24 +0100
James Nord <teilo at teilo.net> wrote:

> >above is true (which may be your point). You cannot count certain
> >characters. The password field could have three ':' or fifteen '@'s in
> >it. It can have anything. *That's* the real problem.
> >
> No it can not.

In jcifs SMB URL it can.

> 
> again password != password field

Again, assuming it's encoded.

> 
> the password field cannot contain any of,
> 
>       reserved      = ";" | "/" | "?" | ":" | "@" | "&" | "=" | "+" |
>                       "$" | ","

I happen to use @ in my passwords quite a bit though. Certainly more than
in path names. If it were not for seti at home no one would care. But if URL
encoding the password ok with everyone then we can do that.

Mike

-- 
May The Source be with you.




More information about the jcifs mailing list