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
Webslice
ISPConfig 3
Commits
70c53657
Commit
70c53657
authored
Jul 03, 2019
by
Till Brehm
Browse files
Fixed #5313 Extend custom php.ini check regex
parent
cb984ca1
Changes
1
Hide whitespace changes
Inline
Side-by-side
interface/web/sites/web_vhost_domain_edit.php
View file @
70c53657
...
...
@@ -1301,7 +1301,7 @@ class page_action extends tform_actions {
// value inside ''
if
(
preg_match
(
'@^\s*;*\s*[a-zA-Z0-9._]*\s*=\s*\'.*\'\s*;*\s*$@'
,
$custom_php_ini_settings_line
))
continue
;
// everything else
if
(
preg_match
(
'@^\s*;*\s*[a-zA-Z0-9._]*\s*=\s*[-a-zA-Z0-9~&=_\@/,.#\s]*\s*;*\s*$@'
,
$custom_php_ini_settings_line
))
continue
;
if
(
preg_match
(
'@^\s*;*\s*[a-zA-Z0-9._]*\s*=\s*[-a-zA-Z0-9~&=_\@/,.#\s
\|
]*\s*;*\s*$@'
,
$custom_php_ini_settings_line
))
continue
;
$custom_php_ini_settings_are_valid
=
false
;
break
;
}
...
...
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