[jcifs] jcifs: URL with '/' in password fails

Christopher R. Hertel crh at ubiqx.mn.org
Wed Nov 12 10:04:45 EST 2003


Right.  Most parsers will see that as a delimiter.  It should be escaped.

On Tue, Nov 11, 2003 at 10:12:57AM +0000, eglass1 at comcast.net wrote:
> > The URL for SmbNamedPipe() is 
> >    smb://SERVERNAME;oms:/passwd@10.1.111.111/IPC$/FAS$ADM 
> 
> I don't think a '/' is allowable in the authentication field of a URL (I coul$
> 
> smb://SERVERNAME;oms:%2fpasswd@10.1.111.111/IPC$/FAS$ADM 
> 
> and see if URL-encoding the '/' to %2f fixes it.
> 
> 
> Eric
> 

-- 
"Implementing CIFS - the Common Internet FileSystem" ISBN: 013047116X
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