[jcifs] URL Problem

Christopher R. Hertel crh at ubiqx.mn.org
Thu Nov 14 04:24:33 EST 2002


Tony,

It's a URL... yes, you need to encode the special characters.  :)

Also, note that Mike overhauled the URL handling for the 0.7 series.

Also also note that there have been fixes between 0.6.5 and the current
production release: 0.6.7.

Chris -)-----

On Wed, Nov 13, 2002 at 08:16:42AM -0500, Tony Thompson wrote:
> I am using jCIFS 0.6.5.  I am having an issue with special characters in an SMB URL.  If I construct a URL like this:
> 
> smb://username:password%@host/path
> 
> The password has a special character in it that causes jCIFS to throw a malformed URL exception.  Do I have to encode the username/password before I construct the URL or is this something jCIFS should be handling for me?
> 
> Thanks.
> Tony
> 

-- 
Samba Team -- http://www.samba.org/     -)-----   Christopher R. Hertel
jCIFS Team -- http://jcifs.samba.org/   -)-----   ubiqx development, uninq.
ubiqx Team -- http://www.ubiqx.org/     -)-----   crh at ubiqx.mn.org
OnLineBook -- http://ubiqx.org/cifs/    -)-----   crh at ubiqx.org



More information about the jcifs mailing list