correction bug upload images
Added by charly villedieu 7 months ago
Hello,
Juste to propose a little correction : when you upload a file with specials caracteres (éà:!....), there is a probleme, a little bug.
To fix this :
open the file "elFinder.class.php" go to ligne 608 after "@chmod($file, $this->_options['fileMode']);" add this :
$file_ok= strtr($file,"ÀÁÂÃÄÅàáâãäåÒÓÔÕÖØòóôõöøÈÉÊËèéêëÇçÌÍÎÏìíîïÙÚÛÜùúûüÿÑñ '\"!?%(),:;","aaaaaaaaaaaaooooooooooooeeeeeeeecciiiiiiiiuuuuuuuuynn-----------");
rename($file,$file_ok);
that's all
it would be better without the alert message, but i can't find it...
Replies (1)
RE: correction bug upload images
-
Added by Troex Nevelin 7 months ago
What error message you got, are you testing under windows? Such errors can be if your server does not support UTF-8 filesnames.
(1-1/1)