File Manager Add-on Support Product Page
Solved
File names are being changed!
Reported 17 Jan 2014 04:22:53
1
has this problem
17 Jan 2014 04:22:53 Joe Villanova posted:
When I upload an image file who's name contains the letter "w" -- the letter "w" gets removed from the file name which then breaks the link to the file!!!!!Latest versions of HTML Editor and FM installed
Replies
Replied 17 Jan 2014 08:54:57
17 Jan 2014 08:54:57 Miroslav Zografski replied:
Hello Joe,
find in ScriptLibrary folder the file named incPureUpload.php. Open it in code view and search it for :"remove control characters"
The code you will find should be like :
Change it to:
Save, upload and test.
Regards,
find in ScriptLibrary folder the file named incPureUpload.php. Open it in code view and search it for :"remove control characters"
The code you will find should be like :
// remove control characters $newname = preg_replace('%[\0-\31\127]%i', '', $newname);
Change it to:
// remove control characters $newname = preg_replace('%[\x00-\x1F\x7F]%i', '', $newname);
Save, upload and test.
Regards,
Replied 17 Jan 2014 13:02:41
17 Jan 2014 13:02:41 Joe Villanova replied:
Your solution looks to have solved the problem!!
Thanks!
Joe
Thanks!
Joe