Skip to content

Commit eb3f9d0

Browse files
author
Marius Burkard
committed
Merge branch '5905-jailkit_form_regex' into 'develop'
Resolve "Jailkit chroot app sections shall allow more then 128 characters" Closes #5905 See merge request ispconfig/ispconfig3!1318
2 parents 7f119a6 + cec0ac1 commit eb3f9d0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

interface/web/admin/form/server_config.tform.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1790,7 +1790,7 @@
17901790
'validators' => array( 0 => array('type' => 'NOTEMPTY',
17911791
'errmsg' => 'jailkit_chroot_home_error_empty'),
17921792
1 => array ( 'type' => 'REGEX',
1793-
'regex' => '/^\/[a-zA-Z0-9\.\-\_\/\[\]]{1,128}$/',
1793+
'regex' => '/^\/[a-zA-Z0-9\.\-\_\/\[\]]{1,}$/',
17941794
'errmsg'=> 'jailkit_chroot_home_error_regex'),
17951795
),
17961796
'value' => '',
@@ -1804,7 +1804,7 @@
18041804
'validators' => array( 0 => array('type' => 'NOTEMPTY',
18051805
'errmsg' => 'jailkit_chroot_app_sections_error_empty'),
18061806
1 => array ( 'type' => 'REGEX',
1807-
'regex' => '/^[a-zA-Z0-9\-\_\ ]{1,128}$/',
1807+
'regex' => '/^[a-zA-Z0-9\.\-\_\ ]{1,}$/',
18081808
'errmsg'=> 'jailkit_chroot_app_sections_error_regex'),
18091809
),
18101810
'value' => '',

0 commit comments

Comments
 (0)