Fix for bug #68, exit after redirect response when URI parameter is received by index.php

This commit is contained in:
Roy Chaudhuri 2018-09-17 15:45:42 +01:00
parent 733a10a1c5
commit 2e43cf95b9

View File

@ -120,8 +120,10 @@ if (! $config = check_config($app['config_file'])) {
$_SESSION[APPCONFIG] = $config;
}
if ($uri = get_request('URI','GET'))
if ($uri = get_request('URI','GET')) {
header(sprintf('Location: cmd.php?%s',base64_decode($uri)));
exit;
}
if (! preg_match('/^([0-9]+\.?)+/',app_version())) {
system_message(array(