Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Christian
ISPConfig 3
Commits
062368ae
Commit
062368ae
authored
Dec 22, 2020
by
Jesse Norell
Browse files
don't allow empty web_folder
parent
416c9fa8
Changes
51
Hide whitespace changes
Inline
Side-by-side
interface/web/sites/form/web_vhost_domain.tform.php
View file @
062368ae
...
...
@@ -367,12 +367,14 @@ if($vhostdomain_type == 'domain') {
);
$form
[
'tabs'
][
'domain'
][
'fields'
][
'web_folder'
]
=
array
(
'datatype'
=>
'VARCHAR'
,
'validators'
=>
array
(
0
=>
array
(
'type'
=>
'REGEX'
,
'regex'
=>
'@^((?!(.*\.\.)|(.*\./)|(.*//))[^/][\w/_\.\-]{1,100})?$@'
,
'errmsg'
=>
'web_folder_error_regex'
),
'validators'
=>
array
(
0
=>
array
(
'type'
=>
'NOTEMPTY'
,
'errmsg'
=>
'web_folder_error_empty'
),
1
=>
array
(
'type'
=>
'REGEX'
,
'regex'
=>
'@^((?!(.*\.\.)|(.*\./)|(.*//))[^/][\w/_\.\-]{1,100})?$@'
,
'errmsg'
=>
'web_folder_error_regex'
),
),
'filters'
=>
array
(
0
=>
array
(
'event'
=>
'SAVE'
,
'type'
=>
'TRIM'
),
'filters'
=>
array
(
0
=>
array
(
'event'
=>
'SAVE'
,
'type'
=>
'TRIM'
),
),
'formtype'
=>
'TEXT'
,
'default'
=>
''
,
...
...
interface/web/sites/lib/lang/ar_web_vhost_domain.lng
View file @
062368ae
...
...
@@ -114,6 +114,7 @@ $wb['repeat_password_txt'] = 'Repeat Password';
$wb
[
'password_mismatch_txt'
]
=
'The passwords do not match.'
;
$wb
[
'password_match_txt'
]
=
'The passwords do match.'
;
$wb
[
'web_folder_error_regex'
]
=
'Invalid folder entered. Please do not enter a slash.'
;
$wb
[
'web_folder_error_empty'
]
=
'Web folder cannot be empty. Use /web/ to make the same as the Parent Website'
;
$wb
[
'domain_error_autosub'
]
=
'There is already a subdomain with these settings.'
;
$wb
[
'available_php_directive_snippets_txt'
]
=
'Available PHP Directive Snippets:'
;
$wb
[
'available_apache_directive_snippets_txt'
]
=
'Available Apache Directive Snippets:'
;
...
...
interface/web/sites/lib/lang/ar_web_vhost_subdomain.lng
View file @
062368ae
...
...
@@ -20,6 +20,7 @@ $wb['server_id_txt'] = 'Server';
$wb
[
'domain_txt'
]
=
'Domain'
;
$wb
[
'host_txt'
]
=
'Hostname'
;
$wb
[
'web_folder_error_regex'
]
=
'Invalid folder entered. Please do not enter a slash.'
;
$wb
[
'web_folder_error_empty'
]
=
'Web folder cannot be empty. Use /web/ to make the same as the Parent Website'
;
$wb
[
'type_txt'
]
=
'Type'
;
$wb
[
'redirect_type_txt'
]
=
'Redirect Type'
;
$wb
[
'r_redirect_txt'
]
=
'R (Temporary redirect)'
;
...
...
@@ -132,4 +133,3 @@ $wb['http_port_txt'] = 'HTTP Port';
$wb
[
'https_port_txt'
]
=
'HTTPS Port'
;
$wb
[
'http_port_error_regex'
]
=
'HTTP Port invalid.'
;
$wb
[
'https_port_error_regex'
]
=
'HTTPS Port invalid.'
;
?>
interface/web/sites/lib/lang/bg_web_vhost_domain.lng
View file @
062368ae
...
...
@@ -113,6 +113,7 @@ $wb['password_match_txt'] = 'The passwords do match.';
$wb
[
'ssl_key_txt'
]
=
'SSL Key'
;
$wb
[
'perl_txt'
]
=
'Perl'
;
$wb
[
'web_folder_error_regex'
]
=
'Invalid folder entered. Please do not enter a slash.'
;
$wb
[
'web_folder_error_empty'
]
=
'Web folder cannot be empty. Use /web/ to make the same as the Parent Website'
;
$wb
[
'domain_error_autosub'
]
=
'There is already a subdomain with these settings.'
;
$wb
[
'available_php_directive_snippets_txt'
]
=
'Available PHP Directive Snippets:'
;
$wb
[
'available_apache_directive_snippets_txt'
]
=
'Available Apache Directive Snippets:'
;
...
...
interface/web/sites/lib/lang/bg_web_vhost_subdomain.lng
View file @
062368ae
...
...
@@ -20,6 +20,7 @@ $wb['server_id_txt'] = 'Server';
$wb
[
'domain_txt'
]
=
'Domain'
;
$wb
[
'host_txt'
]
=
'Hostname'
;
$wb
[
'web_folder_error_regex'
]
=
'Invalid folder entered. Please do not enter a slash.'
;
$wb
[
'web_folder_error_empty'
]
=
'Web folder cannot be empty. Use /web/ to make the same as the Parent Website'
;
$wb
[
'type_txt'
]
=
'Type'
;
$wb
[
'redirect_type_txt'
]
=
'Redirect Type'
;
$wb
[
'r_redirect_txt'
]
=
'R (Temporary redirect)'
;
...
...
@@ -132,4 +133,3 @@ $wb['http_port_txt'] = 'HTTP Port';
$wb
[
'https_port_txt'
]
=
'HTTPS Port'
;
$wb
[
'http_port_error_regex'
]
=
'HTTP Port invalid.'
;
$wb
[
'https_port_error_regex'
]
=
'HTTPS Port invalid.'
;
?>
interface/web/sites/lib/lang/br_web_vhost_domain.lng
View file @
062368ae
...
...
@@ -15,6 +15,7 @@ $wb['ssl_domain_txt'] = 'Domínio SSL';
$wb
[
'server_id_txt'
]
=
'Servidor'
;
$wb
[
'domain_txt'
]
=
'Domínio'
;
$wb
[
'web_folder_error_regex'
]
=
'Pasta web é inválida. Por favor não utilize o caractere (barra).'
;
$wb
[
'web_folder_error_empty'
]
=
'Web folder cannot be empty. Use /web/ to make the same as the Parent Website'
;
$wb
[
'type_txt'
]
=
'Tipo'
;
$wb
[
'parent_domain_id_txt'
]
=
'Site Pai'
;
$wb
[
'redirect_type_txt'
]
=
'Tipo de redirecionamento'
;
...
...
interface/web/sites/lib/lang/br_web_vhost_subdomain.lng
View file @
062368ae
...
...
@@ -20,6 +20,7 @@ $wb['server_id_txt'] = 'Servidor';
$wb
[
'domain_txt'
]
=
'Domínio'
;
$wb
[
'host_txt'
]
=
'Nome do host'
;
$wb
[
'web_folder_error_regex'
]
=
'Pasta Web é inválida. Por favor não utilize o caractere (barra).'
;
$wb
[
'web_folder_error_empty'
]
=
'Web folder cannot be empty. Use /web/ to make the same as the Parent Website'
;
$wb
[
'type_txt'
]
=
'Tipo'
;
$wb
[
'redirect_type_txt'
]
=
'Tipo de redirecionamento'
;
$wb
[
'r_redirect_txt'
]
=
'R (Temporary redirect)'
;
...
...
interface/web/sites/lib/lang/ca_web_vhost_domain.lng
View file @
062368ae
...
...
@@ -15,6 +15,7 @@ $wb['ssl_domain_txt'] = 'SSL Domain';
$wb
[
'server_id_txt'
]
=
'Server'
;
$wb
[
'domain_txt'
]
=
'Domain'
;
$wb
[
'web_folder_error_regex'
]
=
'Invalid folder entered. Please do not enter a slash.'
;
$wb
[
'web_folder_error_empty'
]
=
'Web folder cannot be empty. Use /web/ to make the same as the Parent Website'
;
$wb
[
'type_txt'
]
=
'Type'
;
$wb
[
'parent_domain_id_txt'
]
=
'Parent Website'
;
$wb
[
'redirect_type_txt'
]
=
'Redirect Type'
;
...
...
interface/web/sites/lib/lang/ca_web_vhost_subdomain.lng
View file @
062368ae
...
...
@@ -20,6 +20,7 @@ $wb['server_id_txt'] = 'Server';
$wb
[
'domain_txt'
]
=
'Domain'
;
$wb
[
'host_txt'
]
=
'Hostname'
;
$wb
[
'web_folder_error_regex'
]
=
'Invalid folder entered. Please do not enter a slash.'
;
$wb
[
'web_folder_error_empty'
]
=
'Web folder cannot be empty. Use /web/ to make the same as the Parent Website'
;
$wb
[
'type_txt'
]
=
'Type'
;
$wb
[
'redirect_type_txt'
]
=
'Redirect Type'
;
$wb
[
'r_redirect_txt'
]
=
'R (Temporary redirect)'
;
...
...
@@ -132,4 +133,3 @@ $wb['http_port_txt'] = 'HTTP Port';
$wb
[
'https_port_txt'
]
=
'HTTPS Port'
;
$wb
[
'http_port_error_regex'
]
=
'HTTP Port invalid.'
;
$wb
[
'https_port_error_regex'
]
=
'HTTPS Port invalid.'
;
?>
interface/web/sites/lib/lang/cz_web_vhost_domain.lng
View file @
062368ae
...
...
@@ -20,6 +20,7 @@ $wb['domain_txt'] = 'Doména';
$wb
[
'type_txt'
]
=
'Verze'
;
$wb
[
'host_txt'
]
=
'Název hostitele'
;
$wb
[
'web_folder_error_regex'
]
=
'Invalid folder entered. Please do not enter a slash.'
;
$wb
[
'web_folder_error_empty'
]
=
'Web folder cannot be empty. Use /web/ to make the same as the Parent Website'
;
$wb
[
'redirect_type_txt'
]
=
'Typ přesměrování'
;
$wb
[
'r_redirect_txt'
]
=
'R (Temporary redirect)'
;
$wb
[
'l_redirect_txt'
]
=
'L (Last redirect rule)'
;
...
...
interface/web/sites/lib/lang/cz_web_vhost_subdomain.lng
View file @
062368ae
...
...
@@ -20,6 +20,7 @@ $wb['server_id_txt'] = 'Server';
$wb
[
'domain_txt'
]
=
'Doména'
;
$wb
[
'host_txt'
]
=
'Název hostitele'
;
$wb
[
'web_folder_error_regex'
]
=
'Invalid folder entered. Please do not enter a slash.'
;
$wb
[
'web_folder_error_empty'
]
=
'Web folder cannot be empty. Use /web/ to make the same as the Parent Website'
;
$wb
[
'type_txt'
]
=
'Verze'
;
$wb
[
'redirect_type_txt'
]
=
'Typ přesměrování'
;
$wb
[
'r_redirect_txt'
]
=
'R (Temporary redirect)'
;
...
...
interface/web/sites/lib/lang/de_web_vhost_domain.lng
View file @
062368ae
...
...
@@ -14,6 +14,7 @@ $wb['domain_txt'] = 'Domain';
$wb
[
'type_txt'
]
=
'Typ'
;
$wb
[
'parent_domain_id_txt'
]
=
'Zugehörige Webseite'
;
$wb
[
'web_folder_error_regex'
]
=
'Ungültige Verzeichnisangabe, bitte keinen / eingeben.'
;
$wb
[
'web_folder_error_empty'
]
=
'Web folder cannot be empty. Use /web/ to make the same as the Parent Website'
;
$wb
[
'redirect_type_txt'
]
=
'Weiterleitungstyp'
;
$wb
[
'r_redirect_txt'
]
=
'R (Temporary redirect)'
;
$wb
[
'l_redirect_txt'
]
=
'L (Last redirect rule)'
;
...
...
interface/web/sites/lib/lang/de_web_vhost_subdomain.lng
View file @
062368ae
...
...
@@ -18,6 +18,7 @@ $wb['domain_txt'] = 'Domain';
$wb
[
'host_txt'
]
=
'Host'
;
$wb
[
'type_txt'
]
=
'Typ'
;
$wb
[
'web_folder_error_regex'
]
=
'Ungültige Ordnerangabe, bitte keinen / eingeben.'
;
$wb
[
'web_folder_error_empty'
]
=
'Web folder cannot be empty. Use /web/ to make the same as the Parent Website'
;
$wb
[
'redirect_type_txt'
]
=
'Redirect-Typ'
;
$wb
[
'r_redirect_txt'
]
=
'R (Temporary redirect)'
;
$wb
[
'l_redirect_txt'
]
=
'L (Last redirect rule)'
;
...
...
@@ -132,4 +133,3 @@ $wb['http_port_txt'] = 'HTTP Port';
$wb
[
'https_port_txt'
]
=
'HTTPS Port'
;
$wb
[
'http_port_error_regex'
]
=
'HTTP Port invalid.'
;
$wb
[
'https_port_error_regex'
]
=
'HTTPS Port invalid.'
;
?>
interface/web/sites/lib/lang/dk_web_vhost_domain.lng
View file @
062368ae
...
...
@@ -15,6 +15,7 @@ $wb['ssl_domain_txt'] = 'SSL Domain';
$wb
[
'server_id_txt'
]
=
'Server'
;
$wb
[
'domain_txt'
]
=
'Domain'
;
$wb
[
'web_folder_error_regex'
]
=
'Invalid folder entered. Please do not enter a slash.'
;
$wb
[
'web_folder_error_empty'
]
=
'Web folder cannot be empty. Use /web/ to make the same as the Parent Website'
;
$wb
[
'type_txt'
]
=
'Type'
;
$wb
[
'parent_domain_id_txt'
]
=
'Parent Website'
;
$wb
[
'redirect_type_txt'
]
=
'Redirect Type'
;
...
...
interface/web/sites/lib/lang/dk_web_vhost_subdomain.lng
View file @
062368ae
...
...
@@ -20,6 +20,7 @@ $wb['server_id_txt'] = 'Server';
$wb
[
'domain_txt'
]
=
'Domæne'
;
$wb
[
'host_txt'
]
=
'Værtsnavn'
;
$wb
[
'web_folder_error_regex'
]
=
'Ugyldigt folder entered. Please do not enter a slash.'
;
$wb
[
'web_folder_error_empty'
]
=
'Web folder cannot be empty. Use /web/ to make the same as the Parent Website'
;
$wb
[
'type_txt'
]
=
'Type'
;
$wb
[
'redirect_type_txt'
]
=
'Omdiriger Type'
;
$wb
[
'r_redirect_txt'
]
=
'R (Temporary redirect)'
;
...
...
@@ -132,4 +133,3 @@ $wb['http_port_txt'] = 'HTTP Port';
$wb
[
'https_port_txt'
]
=
'HTTPS Port'
;
$wb
[
'http_port_error_regex'
]
=
'HTTP Port invalid.'
;
$wb
[
'https_port_error_regex'
]
=
'HTTPS Port invalid.'
;
?>
interface/web/sites/lib/lang/el_web_vhost_domain.lng
View file @
062368ae
...
...
@@ -114,6 +114,7 @@ $wb['repeat_password_txt'] = 'Repeat Password';
$wb
[
'password_mismatch_txt'
]
=
'The passwords do not match.'
;
$wb
[
'password_match_txt'
]
=
'The passwords do match.'
;
$wb
[
'web_folder_error_regex'
]
=
'Invalid folder entered. Please do not enter a slash.'
;
$wb
[
'web_folder_error_empty'
]
=
'Web folder cannot be empty. Use /web/ to make the same as the Parent Website'
;
$wb
[
'domain_error_autosub'
]
=
'There is already a subdomain with these settings.'
;
$wb
[
'available_php_directive_snippets_txt'
]
=
'Available PHP Directive Snippets:'
;
$wb
[
'available_apache_directive_snippets_txt'
]
=
'Available Apache Directive Snippets:'
;
...
...
interface/web/sites/lib/lang/el_web_vhost_subdomain.lng
View file @
062368ae
...
...
@@ -20,6 +20,7 @@ $wb['server_id_txt'] = 'Server';
$wb
[
'domain_txt'
]
=
'Domain'
;
$wb
[
'host_txt'
]
=
'Hostname'
;
$wb
[
'web_folder_error_regex'
]
=
'Invalid folder entered. Please do not enter a slash.'
;
$wb
[
'web_folder_error_empty'
]
=
'Web folder cannot be empty. Use /web/ to make the same as the Parent Website'
;
$wb
[
'type_txt'
]
=
'Type'
;
$wb
[
'redirect_type_txt'
]
=
'Redirect Type'
;
$wb
[
'r_redirect_txt'
]
=
'R (Temporary redirect)'
;
...
...
@@ -132,4 +133,3 @@ $wb['http_port_txt'] = 'HTTP Port';
$wb
[
'https_port_txt'
]
=
'HTTPS Port'
;
$wb
[
'http_port_error_regex'
]
=
'HTTP Port invalid.'
;
$wb
[
'https_port_error_regex'
]
=
'HTTPS Port invalid.'
;
?>
interface/web/sites/lib/lang/en_web_vhost_domain.lng
View file @
062368ae
...
...
@@ -15,6 +15,7 @@ $wb['ssl_domain_txt'] = 'SSL Domain';
$wb
[
'server_id_txt'
]
=
'Server'
;
$wb
[
'domain_txt'
]
=
'Domain'
;
$wb
[
'web_folder_error_regex'
]
=
'Invalid folder entered. Please do not enter a slash.'
;
$wb
[
'web_folder_error_empty'
]
=
'Web folder cannot be empty. Use /web/ to make the same as the Parent Website'
;
$wb
[
'type_txt'
]
=
'Type'
;
$wb
[
'parent_domain_id_txt'
]
=
'Parent Website'
;
$wb
[
'redirect_type_txt'
]
=
'Redirect Type'
;
...
...
interface/web/sites/lib/lang/en_web_vhost_subdomain.lng
View file @
062368ae
...
...
@@ -20,6 +20,7 @@ $wb['server_id_txt'] = 'Server';
$wb
[
'domain_txt'
]
=
'Domain'
;
$wb
[
'host_txt'
]
=
'Hostname'
;
$wb
[
'web_folder_error_regex'
]
=
'Invalid folder entered. Please do not enter a slash.'
;
$wb
[
'web_folder_error_empty'
]
=
'Web folder cannot be empty. Use /web/ to make the same as the Parent Website'
;
$wb
[
'type_txt'
]
=
'Type'
;
$wb
[
'parent_domain_id_txt'
]
=
'Parent Website'
;
$wb
[
'redirect_type_txt'
]
=
'Redirect Type'
;
...
...
@@ -133,4 +134,3 @@ $wb['http_port_txt'] = 'HTTP Port';
$wb
[
'https_port_txt'
]
=
'HTTPS Port'
;
$wb
[
'http_port_error_regex'
]
=
'HTTP Port invalid.'
;
$wb
[
'https_port_error_regex'
]
=
'HTTPS Port invalid.'
;
?>
\ No newline at end of file
interface/web/sites/lib/lang/es_web_vhost_domain.lng
View file @
062368ae
...
...
@@ -96,6 +96,7 @@ $wb['pm_min_spare_servers_error_regex'] = 'PHP-FPM pm.min_spare_servers debe ser
$wb
[
'pm_max_spare_servers_error_regex'
]
=
'PHP-FPM pm.max_spare_servers debe ser un valor entero positivo.'
;
$wb
[
'ssl_key_txt'
]
=
'Clave SSL'
;
$wb
[
'web_folder_error_regex'
]
=
'La carpeta introducida no es válida. Por favor no introduzcas una barra.'
;
$wb
[
'web_folder_error_empty'
]
=
'Web folder cannot be empty. Use /web/ to make the same as the Parent Website'
;
$wb
[
'domain_error_autosub'
]
=
'Ya hay un subdominio con estas configuraciones.'
;
$wb
[
'perl_txt'
]
=
'Perl'
;
$wb
[
'hd_quota_error_regex'
]
=
'Cuota de disco no es válida.'
;
...
...
Prev
1
2
3
Next
Write
Preview
Supports
Markdown
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