File Manager Add-on Support Product Page
Solved
File names are being changed!
Reported 11 years ago
1
has this problem
11 years ago 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 11 years ago
11 years ago 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 11 years ago
11 years ago Joe Villanova replied:
Your solution looks to have solved the problem!!
Thanks!
Joe
Thanks!
Joe