Bug 7872 - Problems with shares on Turkish PC (JCIFS 1.3.15)
Summary: Problems with shares on Turkish PC (JCIFS 1.3.15)
Status: NEW
Alias: None
Product: jCIFS
Classification: Unclassified
Component: core (show other bugs)
Version: 1.2
Hardware: x86 Windows XP
: P3 critical
Target Milestone: ---
Assignee: Michael B. Allen
QA Contact:
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-12-16 05:44 UTC by Andi
Modified: 2010-12-20 03:41 UTC (History)
0 users

See Also:


Attachments
The corrected class file (8.24 KB, application/octet-stream)
2010-12-16 05:46 UTC, Andi
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Andi 2010-12-16 05:44:15 UTC
With version 1.3.15 of JCIFS it isn't possible to download a file via SMB from a Turkish PC if the sharename contains an "i".

Reason for the problem is the used uppercase function in the constructor of class SmbTree. Because no location is set, the location settings of the client PC are taken. As a result on a turkish PC shares with a containing "i", e.g. masterdisk, can't be accessed.

Please fix the problem by just change following line:

class SmbTree {
...
  SmbTree( SmbSession session, String share, String service ) {
    ...
    this.share = share.toUpperCase(Locale.ENGLISH);
    ...
  }
...
}
Comment 1 Andi 2010-12-16 05:46:40 UTC
Created attachment 6137 [details]
The corrected class file