[jcifs] jcifs bug?
James Nord
teilo at teilo.net
Sat Feb 23 12:32:39 EST 2002
Bernie Wieser wrote:
>Some user has a file called "seti at home.txt" -
>URL is smb://HI137/D$/Documents and Settings/ryar/seti at home.txt
>
I think that you need to URL escape that url
smb://HI137/D$/Documents%20and%20Settings/ryar/seti@home.txt
You may need to escape the second @, from my understanding of RFC 1738
you do not need to but IANAE and I'n not up-to-date on the smb URL to
say this.
(I guess usernames can contain a / so that's why everything up to the @
is callsed as "username"@home.txt
ftp://user:pass@foo.com/some/dir/im@home/text.txt is valid no?
But Seeing as a '/' is a reserver char in usernames/pass it would need
to be escaped here?
/James
>
>jcifs blows a chunk
>
>java.net.UnknownHostException: home.txt
> at jcifs.UniAddress.getByName(UniAddress.java:249)
>
>B.
>
More information about the jcifs
mailing list