mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-07-23 05:44:36 +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',
|
'Regex',
|
||||||
false,
|
false,
|
||||||
array(
|
array(
|
||||||
'pattern' => '/^[^\W]+$/',
|
'pattern' => '/^\S+$/',
|
||||||
'messages' => array(
|
'messages' => array(
|
||||||
'regexNotMatch' => $this->translate(
|
'regexNotMatch' => $this->translate(
|
||||||
'The application prefix must not contain whitespace.'
|
'The application prefix must not contain whitespace.'
|
||||||
|
Loading…
x
Reference in New Issue
Block a user