diff --git a/ChangeLog b/ChangeLog index a2870c380..67f3701b1 100755 --- a/ChangeLog +++ b/ChangeLog @@ -11,6 +11,9 @@ $Source$ any (bug #943626). 2004-04-28 Garvin Hicking + * left.php, main.php, server_databases.php, common.lib.php, + db_details_common.php: Bug #942296 - Safari can't handle + location.replace() redirects correctly * libraries/tbl_change.js: Restrict calendar to maximum values for days/hours/minutes/seconds. * tbl_change.php: Bug #913600 - Made tabindex/id of multi-edit table diff --git a/db_details_common.php b/db_details_common.php index 151d9c8c3..ed75ebdba 100644 --- a/db_details_common.php +++ b/db_details_common.php @@ -54,7 +54,7 @@ if (!isset($message)) { ?> diff --git a/main.php b/main.php index 5fb1e4f8a..58abc953e 100644 --- a/main.php +++ b/main.php @@ -39,7 +39,7 @@ else if (isset($reload) && $reload) { ?> 0) { $db_to_create = ''; break; } // end if - else if ( (ereg($re0 . '%|_', $show_grants_dbname) + else if ( (ereg($re0 . '%|_', $show_grants_dbname) && !ereg('\\\\%|\\\\_', $show_grants_dbname)) || (!PMA_DBI_try_query('USE ' . ereg_replace($re1 .'(%|_)', '\\1\\3', $show_grants_dbname)) && substr(PMA_DBI_getError(), 1, 4) != 1044) ) { @@ -314,7 +314,7 @@ if ($server > 0) { - +

  • diff --git a/server_databases.php b/server_databases.php index a32257fd7..aed56d708 100644 --- a/server_databases.php +++ b/server_databases.php @@ -21,7 +21,7 @@ require('./server_common.inc.php'); function reload_window(db) { if (typeof(window.parent) != 'undefined' && typeof(window.parent.frames['nav']) != 'undefined') { - window.parent.frames['nav'].location.replace('./left.php?&db=' + db + '&hash=' + ); + window.parent.frames['nav'].goTo('./left.php?&db=' + db + '&hash=' + ); } } //-->