mirror of
https://github.com/myvesta/vesta
synced 2025-07-06 04:51:54 -07:00
filemanager fix
This commit is contained in:
parent
60ebfe321a
commit
8cc1ddf101
3 changed files with 10 additions and 5 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue