wrong parameter when calling error.php
This commit is contained in:
@@ -5,6 +5,10 @@ phpMyAdmin - ChangeLog
|
|||||||
$Id$
|
$Id$
|
||||||
$HeadURL$
|
$HeadURL$
|
||||||
|
|
||||||
|
2006-10-19 Marc Delisle <lem9@users.sourceforge.net>
|
||||||
|
* libraries/common.lib.php, /database_interface.lib.php,/session.inc.php:
|
||||||
|
wrong parameter "char" when calling error.php, should be "charset"
|
||||||
|
|
||||||
2006-10-19 Michal Čihař <michal@cihar.com>
|
2006-10-19 Michal Čihař <michal@cihar.com>
|
||||||
* db_import.php, db_details.php, db_details_export.php,
|
* db_import.php, db_details.php, db_details_export.php,
|
||||||
db_details_structure.php, db_details_qbe.php, db_operations.php,
|
db_details_structure.php, db_details_qbe.php, db_operations.php,
|
||||||
|
@@ -2753,7 +2753,7 @@ if (empty($_SESSION['PMA_Config'])) {
|
|||||||
if (!function_exists('preg_replace')) {
|
if (!function_exists('preg_replace')) {
|
||||||
header('Location: error.php'
|
header('Location: error.php'
|
||||||
. '?lang=' . urlencode($available_languages[$lang][2])
|
. '?lang=' . urlencode($available_languages[$lang][2])
|
||||||
. '&char=' . urlencode($charset)
|
. '&charset=' . urlencode($charset)
|
||||||
. '&dir=' . urlencode($text_dir)
|
. '&dir=' . urlencode($text_dir)
|
||||||
. '&type=' . urlencode($strError)
|
. '&type=' . urlencode($strError)
|
||||||
. '&error=' . urlencode(
|
. '&error=' . urlencode(
|
||||||
@@ -3010,7 +3010,7 @@ if (! defined('PMA_MINIMUM_COMMON')) {
|
|||||||
if (!file_exists('./libraries/auth/' . $cfg['Server']['auth_type'] . '.auth.lib.php')) {
|
if (!file_exists('./libraries/auth/' . $cfg['Server']['auth_type'] . '.auth.lib.php')) {
|
||||||
header('Location: error.php'
|
header('Location: error.php'
|
||||||
. '?lang=' . urlencode($available_languages[$lang][2])
|
. '?lang=' . urlencode($available_languages[$lang][2])
|
||||||
. '&char=' . urlencode($charset)
|
. '&charset=' . urlencode($charset)
|
||||||
. '&dir=' . urlencode($text_dir)
|
. '&dir=' . urlencode($text_dir)
|
||||||
. '&type=' . urlencode($strError)
|
. '&type=' . urlencode($strError)
|
||||||
. '&error=' . urlencode(
|
. '&error=' . urlencode(
|
||||||
|
@@ -58,7 +58,7 @@ if ( ! PMA_DBI_checkAndLoadMysqlExtension( $GLOBALS['cfg']['Server']['extension'
|
|||||||
// if alternativ fails too ...
|
// if alternativ fails too ...
|
||||||
header( 'Location: error.php'
|
header( 'Location: error.php'
|
||||||
. '?lang=' . urlencode( $available_languages[$lang][2] )
|
. '?lang=' . urlencode( $available_languages[$lang][2] )
|
||||||
. '&char=' . urlencode( $charset )
|
. '&charset=' . urlencode( $charset )
|
||||||
. '&dir=' . urlencode( $text_dir )
|
. '&dir=' . urlencode( $text_dir )
|
||||||
. '&type=' . urlencode( $strError )
|
. '&type=' . urlencode( $strError )
|
||||||
. '&error=' . urlencode(
|
. '&error=' . urlencode(
|
||||||
|
@@ -25,7 +25,7 @@ if (!@function_exists('session_name')) {
|
|||||||
// (do not use & for parameters sent by header)
|
// (do not use & for parameters sent by header)
|
||||||
header('Location: error.php'
|
header('Location: error.php'
|
||||||
. '?lang=' . urlencode($available_languages[$lang][2])
|
. '?lang=' . urlencode($available_languages[$lang][2])
|
||||||
. '&char=' . urlencode($charset)
|
. '&charset=' . urlencode($charset)
|
||||||
. '&dir=' . urlencode($text_dir)
|
. '&dir=' . urlencode($text_dir)
|
||||||
. '&type=' . urlencode($strError)
|
. '&type=' . urlencode($strError)
|
||||||
. '&error=' . urlencode(sprintf($strCantLoad, 'session')));
|
. '&error=' . urlencode(sprintf($strCantLoad, 'session')));
|
||||||
|
Reference in New Issue
Block a user