Merge pull request #69 from RoyChaudhuri/master

Fix for bug #68, long redirect response
This commit is contained in:
Deon George 2019-04-18 11:56:25 +10:00 committed by GitHub
commit 6a55d808a2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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(