Allowed using apostrophe in filename

Fix #3637
This commit is contained in:
githubjeka 2019-10-03 08:55:42 +03:00
parent a406f9f7de
commit 9388617f7d

View File

@ -24,7 +24,7 @@ class Module extends \humhub\components\Module
/**
* @inheritdoc
*/
public $fileNameValidationPattern = '/[\x00-\x1F\x80-\xA0>\/\<"\':\*?|{}\[\]\\\\\/]/u';
public $fileNameValidationPattern = '/[\x00-\x1F\x80-\xA0>\/\<":\*?|{}\[\]\\\\\/]/u';
/**
* @see components\StorageManagerInterface