mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-04-08 17:15:08 +02:00
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…
x
Reference in New Issue
Block a user