LoggingConfigForm: correct syslog application prefix validation

fixes #10781
This commit is contained in:
Alexander A. Klimov 2015-12-09 17:56:22 +01:00
parent c6f2783d2d
commit ad3f6bbbad
1 changed files with 1 additions and 1 deletions

View File

@ -73,7 +73,7 @@ class LoggingConfigForm extends Form
'Regex',
false,
array(
'pattern' => '/^[^\W]+$/',
'pattern' => '/^\S+$/',
'messages' => array(
'regexNotMatch' => $this->translate(
'The application prefix must not contain whitespace.'