mirror of
https://github.com/Studio-42/elFinder
synced 2026-06-08 12:37:09 +00:00
refs #65 change default check for valid filename
This commit is contained in:
@@ -209,7 +209,7 @@ abstract class elFinderVolumeDriver {
|
||||
// list of commands disabled on this root
|
||||
'disabled' => array(),
|
||||
// regexp or function name to validate new file name
|
||||
'acceptedName' => '/^[\W]+$/',
|
||||
'acceptedName' => '/^\w[\w\s\.\-]*$/u',
|
||||
// function/class method to control files permissions
|
||||
'accessControl' => null,
|
||||
// some data required by access control
|
||||
|
||||
Reference in New Issue
Block a user