diff --git a/install/vst-install-rhel.sh b/install/vst-install-rhel.sh index 1ba55cdf..436517b1 100755 --- a/install/vst-install-rhel.sh +++ b/install/vst-install-rhel.sh @@ -636,14 +636,17 @@ fi #----------------------------------------------------------# # Installing rpm packages -if [ "$remi" = 'yes' ]; then - yum -y --disablerepo=* \ - --enablerepo="*base,*updates,nginx,epel,vesta,remi*" \ - install $software -else - yum -y --disablerepo=* --enablerepo="*base,*updates,nginx,epel,vesta" \ - install $software -fi +#if [ "$remi" = 'yes' ]; then +# yum -y --disablerepo=* \ +# --enablerepo="*base,*updates,nginx,epel,vesta,remi*" \ +# install $software +#else +# yum -y --disablerepo=* --enablerepo="*base,*updates,nginx,epel,vesta" \ +# install $software +#fi + +# Temporary fix for centos vault issue +yum install $software check_result $? "yum install failed" diff --git a/web/inc/i18n/nl.php b/web/inc/i18n/nl.php index 40274f5f..fc86a88b 100644 --- a/web/inc/i18n/nl.php +++ b/web/inc/i18n/nl.php @@ -16,6 +16,7 @@ $LANG['nl'] = array( 'Services' => 'Processen', 'Firewall' => 'Firewall', 'Updates' => 'Updates', + 'Apps' => 'Applicaties', 'Log in' => 'Inloggen', 'Log out' => 'Uitloggen', diff --git a/web/view/file/index.php b/web/view/file/index.php index aed9523d..e3e77249 100644 --- a/web/view/file/index.php +++ b/web/view/file/index.php @@ -13,10 +13,10 @@ if (($_SESSION['user'] == 'admin') && (!empty($_SESSION['look']))) { } if (!empty($_REQUEST['path'])) { - $path = $_REQUEST['path']; + $path = htmlspecialchars($_REQUEST['path'], ENT_QUOTES, 'UTF-8'); if (!empty($_REQUEST['raw'])) { header('content-type: image/jpeg'); - passthru (VESTA_CMD . "v-open-fs-file " . $user . " " . escapeshellarg(htmlspecialchars($_REQUEST['path'], ENT_QUOTES, 'UTF-8'))); + passthru (VESTA_CMD . "v-open-fs-file " . $user . " " . escapeshellarg($path)); exit; } }