[jcifs] Incorrect canonical path
Allen, Michael B (RSCH)
Michael_B_Allen at ml.com
Tue Aug 13 09:00:03 EST 2002
Can you please provide the exact procedure for reproducing the issue? I cannot. How exactly
are you creating the SmbFile? Perhaps form another SmbFile in a particular way?
> -----Original Message-----
> From: Dan Diephouse [SMTP:diephouse at eastnode.com]
> Sent: Monday, August 12, 2002 6:40 PM
> To: jcifs at lists.samba.org
> Subject: [jcifs] Incorrect canonical path
>
> Hi,
>
> I found a bug in SmbFile.getCanonicalPath() in 0.7.0b. It will return
> the canonical path without a "/" between the directory and the share.
> For instance, it will return "smb://computer/sharedirectory/directory2"
> instead of "smb://computer/share/directory/directory2". So I attached a
> patch.
>
> Thanks,
>
> Dan
>
> --
> Dan Diephouse
> http://eastnode.com
> << File: SmbFilePatch.diff >>
More information about the jcifs
mailing list