Merge pull request #3671 from githubjeka/apostrophe

Allowed using apostrophe in filename
This commit is contained in:
Lucas Bartholemy 2019-10-03 18:43:11 +02:00 committed by GitHub
commit a9244fa691
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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