LoggingConfigForm: correct syslog application prefix validation
fixes #10781
This commit is contained in:
parent
c6f2783d2d
commit
ad3f6bbbad
|
@ -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.'
|
||||
|
|
Loading…
Reference in New Issue