[jcifs] @ character in filenames

Christian Fraenkel c.fraenkel at gmx.net
Thu Sep 12 11:53:13 EST 2002


I looked a bit at SmbUrl.java, and it looks like it parses this String wrong:
at line 117 it looks for an @, and takes it as the delimeter to the host part. This works fine if there is an user:pass part, but if there isn't one it can take an @ which might occur in the file part. The only way I see to fix this (without lots of work at the parser) is to encode all @'s in the filename part

Christian

-- 
public key: http://www.uni-ulm.de/~s_cfraen/gpg.publickey
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.samba.org/archive/jcifs/attachments/20020912/d378632f/attachment.bin


More information about the jcifs mailing list