aMule Bug Tracker - aMule
View Issue Details
0000094aMuleTransferpublic2004-07-20 13:092004-07-30 23:40
twu2 
Xaignar 
normalminoralways
resolvedfixed 
 
 
0000094: CamuleApp::StripInvalidFilenameChars() broken for CJK filename
After transfer complete, file move to incoming folder, strip invalid filename chars will cause CJK filename broken.

In CamuleApp::StripInvalidFilenameChars(), should allow strText[i] < 0, or convert to unsigned char to avoid this problem.
like:

if ( strText[i] > 31 || strText[i] < 0) {
                                                result += strText[i];
                                }
No tags attached.
diff amule.diff (534) 2004-07-20 13:12
https://bugs.amule.org/file_download.php?file_id=13&type=bug
Issue History
2004-07-20 13:09twu2New Issue
2004-07-20 13:12twu2File Added: amule.diff
2004-07-20 14:52XaignarNote Added: 0000166
2004-07-21 17:45XaignarNote Added: 0000169
2004-07-30 23:40XaignarStatusnew => resolved
2004-07-30 23:40XaignarResolutionopen => fixed
2004-07-30 23:40XaignarAssigned To => Xaignar
2004-07-30 23:40XaignarNote Added: 0000181

Notes
(0000166)
Xaignar   
2004-07-20 14:52   
Hum. Thanks for the report, this also be causing other problems, I'll have to check.
(0000169)
Xaignar   
2004-07-21 17:45   
This should be fixed now on CVS. Please test the patch in this thread and report back: http://forum.amule.org/thread.php?threadid=3004 [^]
(0000181)
Xaignar   
2004-07-30 23:40   
Assuming that the issue is fixed, since there was no futher replies.