title: SmbFile URL path with password having an @
body: <p>I am using the JCIFS library and I have the samba file URL as </p>
  
  <pre><code>SmbFile file = new SmbFile("smb://domain;username:P@ssword@abc.com/share/filename.txt")
  file.connect
  </code></pre>
  
  <p>Notice the password has an <code>@</code>. Samba file connect is failing giving an <code>java.net.UnknownHostException</code>. Other than parsing the URL and passing auth seperately using <code>NtlmAuthentication</code>, is there any other way...</p>
  
  <p>In the Format URL I tried putting square brackets and that did not help.</p>