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
ISPConfig
ISPConfig 3
Commits
770fe4fe
Commit
770fe4fe
authored
Feb 18, 2018
by
Florian Schaal
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fixed regex for backup tmp dir
parent
4d6f1cce
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
interface/web/admin/form/server_config.tform.php
interface/web/admin/form/server_config.tform.php
+1
-1
No files found.
interface/web/admin/form/server_config.tform.php
View file @
770fe4fe
...
...
@@ -190,7 +190,7 @@ $form["tabs"]['server'] = array(
'validators'
=>
array
(
0
=>
array
(
'type'
=>
'NOTEMPTY'
,
'errmsg'
=>
'tmpdir_path_error_empty'
),
1
=>
array
(
'type'
=>
'REGEX'
,
'regex'
=>
'/^\/[a-zA-Z0-9\.\-\_\/]
{5,128}$/
'
,
'regex'
=>
"/(|^
\\
/
{
1,2}(?:[\\w-]+[.]?\\/?)
{5,128
}
)
$/
"
,
'errmsg'
=>
'tmpdir_path_error_regex'
),
),
'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