regex-validate services commands
Signed-off-by: Michael Kaufmann <d00p@froxlor.org>
This commit is contained in:
@@ -135,6 +135,7 @@ return [
|
||||
'settinggroup' => 'dkim',
|
||||
'varname' => 'dkimrestart_command',
|
||||
'type' => 'text',
|
||||
'string_regexp' => '/^[a-z0-9\/\._\- ]+$/i',
|
||||
'default' => '/etc/init.d/dkim-filter restart',
|
||||
'save_method' => 'storeSettingField'
|
||||
]
|
||||
|
||||
Reference in New Issue
Block a user