Skip to content

Commit 5c71e91

Browse files
committed
- Fixed FS#2399.
1 parent b889edb commit 5c71e91

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

server/plugins-available/apache2_plugin.inc.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2299,8 +2299,8 @@ private function php_fpm_pool_update ($data,$web_config,$pool_dir,$pool_name,$so
22992299
foreach($ini_settings as $ini_setting){
23002300
list($key, $value) = explode('=', $ini_setting);
23012301
if($value){
2302-
$value = escapeshellcmd(trim($value));
2303-
$key = escapeshellcmd(trim($key));
2302+
$value = trim($value);
2303+
$key = trim($key);
23042304
switch (strtolower($value)) {
23052305
case '0':
23062306
// PHP-FPM might complain about invalid boolean value if you use 0

server/plugins-available/nginx_plugin.inc.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1904,8 +1904,8 @@ private function php_fpm_pool_update ($data,$web_config,$pool_dir,$pool_name,$so
19041904
foreach($ini_settings as $ini_setting){
19051905
list($key, $value) = explode('=', $ini_setting);
19061906
if($value){
1907-
$value = escapeshellcmd(trim($value));
1908-
$key = escapeshellcmd(trim($key));
1907+
$value = trim($value);
1908+
$key = trim($key);
19091909
switch (strtolower($value)) {
19101910
case '0':
19111911
// PHP-FPM might complain about invalid boolean value if you use 0

0 commit comments

Comments
 (0)