[jcifs] Re: SMB URL encoding/decoding

James Nord teilo at teilo.net
Sun Feb 24 14:50:32 EST 2002

Michael B Allen wrote:

>On Sun, 24 Feb 2002 03:52:53 +0100
>James Nord <teilo at teilo.net> wrote:
>>>And if you decode it at all, you know have to require encoding
>>>'+' and '%' and yada yada yada. So we search in from the end for '@'
>>>and don't encode/decode anything before the server.
>>But then what you do is not what the smb url (generic URL) spec says.
>True, it does not follow the spec exactly. The jCIFS URL parsing code
>was largely written before Chris's draft was released. If you guys can
>tell me how to traverse the password field it may get a re-write though.
It's 4am now so I need some sleep.  It should be relitivly simple and 
I'll try and have a crack at implementing how I beleive it should be 
done tommorow and send it to you for review.


More information about the jcifs mailing list