Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
Jonas
ISPConfig 3
Commits
f5bb3553
Commit
f5bb3553
authored
Aug 01, 2018
by
Till Brehm
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Improved vhost path filter.
parent
33854f29
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
0 deletions
+6
-0
interface/web/sites/form/web_vhost_domain.tform.php
interface/web/sites/form/web_vhost_domain.tform.php
+6
-0
No files found.
interface/web/sites/form/web_vhost_domain.tform.php
View file @
f5bb3553
...
...
@@ -349,6 +349,9 @@ if($vhostdomain_type == 'domain') {
'regex'
=>
'@^((?!(.*\.\.)|(.*\./)|(.*//))[^/][\w/_\.\-]{1,100})?$@'
,
'errmsg'
=>
'web_folder_error_regex'
),
),
'filters'
=>
array
(
0
=>
array
(
'event'
=>
'SAVE'
,
'type'
=>
'TRIM'
),
),
'formtype'
=>
'TEXT'
,
'default'
=>
''
,
'value'
=>
''
,
...
...
@@ -368,6 +371,9 @@ if($vhostdomain_type == 'domain') {
'regex'
=>
'@^((?!(.*\.\.)|(.*\./)|(.*//))[^/][\w/_\.\-]{1,100})?$@'
,
'errmsg'
=>
'web_folder_error_regex'
),
),
'filters'
=>
array
(
0
=>
array
(
'event'
=>
'SAVE'
,
'type'
=>
'TRIM'
),
),
'formtype'
=>
'TEXT'
,
'default'
=>
''
,
'value'
=>
''
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment