filemanager fix

This commit is contained in:
Serghey Rodin 2015-11-02 15:31:36 +02:00
parent 60ebfe321a
commit 8cc1ddf101
3 changed files with 10 additions and 5 deletions

View file

@ -478,7 +478,7 @@ class UploadHandler
}
protected function sanitizeFileName($file) {
$file = preg_replace("/[^a-z0-9\._-]+/", '', $file);
$file = preg_replace("/[^A-Za-z0-9\._-]+/", '', $file);
return $file;
}