Fix bug when uploading files with cyrilic characters
This commit is contained in:
@@ -40,6 +40,7 @@ Bug fixes:
|
|||||||
* Fix permission issue when changing the url manually
|
* Fix permission issue when changing the url manually
|
||||||
* Fix bug task estimate is reseted when using subtask timer
|
* Fix bug task estimate is reseted when using subtask timer
|
||||||
* Fix screenshot feature with Firefox 40
|
* Fix screenshot feature with Firefox 40
|
||||||
|
* Fix bug when uploading files with cyrilic characters
|
||||||
|
|
||||||
Version 1.0.17
|
Version 1.0.17
|
||||||
--------------
|
--------------
|
||||||
|
|||||||
@@ -228,7 +228,7 @@ class File extends Base
|
|||||||
|
|
||||||
if ($error == UPLOAD_ERR_OK && $_FILES[$form_name]['size'][$key] > 0) {
|
if ($error == UPLOAD_ERR_OK && $_FILES[$form_name]['size'][$key] > 0) {
|
||||||
|
|
||||||
$original_filename = basename($_FILES[$form_name]['name'][$key]);
|
$original_filename = $_FILES[$form_name]['name'][$key];
|
||||||
$uploaded_filename = $_FILES[$form_name]['tmp_name'][$key];
|
$uploaded_filename = $_FILES[$form_name]['tmp_name'][$key];
|
||||||
$destination_filename = $this->generatePath($project_id, $task_id, $original_filename);
|
$destination_filename = $this->generatePath($project_id, $task_id, $original_filename);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user