[jcifs] SMB URL

Allen, Michael B (RSCH) Michael_B_Allen at ml.com
Wed Jul 10 13:05:12 EST 2002


> -----Original Message-----
> From:	Christopher R. Hertel [SMTP:crh at ubiqx.mn.org]
> 
> So, there would still be a class of characters for which maintaining the 
> escaping is required.  Same problem.  For example...
> 
>   smb://foo@bar/
> 
> Is that
>   user: foo
>   host: bar
> or NetBIOS name "FOO at BAR"?
> 
> If the latter was what was intended, then we would need to write:
> 
>   smb://foo%40bar/
> 
> ...and we're right back where we started from.
> 
	Nope. In this case you know what needs to be reencoded (the '@'). In the
	case of a NetBIOS name with the extra bit of information stuffed into that 2E
	escape, if you loose it's gone. You can't get it back and *you will not know
	which dot to reencode*.





More information about the jcifs mailing list