bug #2397877 [core] ForceSSL and http auth_type

This commit is contained in:
Marc Delisle
2008-12-28 14:50:07 +00:00
parent 037ab67e8e
commit 7c287fc06e
2 changed files with 3 additions and 0 deletions

View File

@@ -540,6 +540,8 @@ if ($_SESSION['PMA_Config']->get('ForceSSL')
preg_replace('/^http/', 'https',
$_SESSION['PMA_Config']->get('PmaAbsoluteUri'))
. PMA_generate_common_url($_GET, 'text'));
// delete the current session, otherwise we get problems (see bug #2397877)
PMA_removeCookie($GLOBALS['session_name']);
exit;
}