bug 739348 plus sign in db name

This commit is contained in:
Marc Delisle
2003-05-18 11:18:27 +00:00
parent 1f4c540ccf
commit eb87127a0e
3 changed files with 11 additions and 2 deletions

View File

@@ -5,6 +5,11 @@ phpMyAdmin - Changelog
$Id$
$Source$
2003-05-18 Marc Delisle <lem9@users.sourceforge.net>
* left.php3, index.php3: bug 739348: because the db name is no longer
encoded in left.php3 (to accomodate html entities), we have to stop
decoding it, otherwise a db name with a plus sign is not selectable
2003-05-15 Michal Cihar <nijel@users.sourceforge.net>
* Documentation, config.inc.php3, tbl_change.php3,
libraries/config_import.lib.php3: Double sized textare for LONGTEXT is

View File

@@ -35,7 +35,9 @@ if (empty($HTTP_HOST)) {
*/
// loic1: If left light mode -> urldecode the db name
if (isset($lightm_db)) {
$db = urldecode($lightm_db);
// no longer urlencoded because of html entities in the db name
// $db = urldecode($lightm_db);
$db = $lightm_db;
unset($lightm_db);
}
$url_query = PMA_generate_common_url(isset($db) ? $db : '');

View File

@@ -9,7 +9,9 @@
*/
require('./libraries/grab_globals.lib.php3');
if (isset($lightm_db) && !empty($lightm_db)) {
$db = urldecode($lightm_db);
// no longer urlencoded because of html entities in the db name
// $db = urldecode($lightm_db);
$db = $lightm_db;
}
if (!empty($db)) {