From ab7ceec2682d5edb172d92b2fbc20239ad81d7af Mon Sep 17 00:00:00 2001 From: Marc Delisle Date: Wed, 4 Jan 2006 18:23:15 +0000 Subject: [PATCH] patch #1395031, not proper URL encoding --- ChangeLog | 2 ++ server_status.php | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 8f3db452b..dea58bcdd 100755 --- a/ChangeLog +++ b/ChangeLog @@ -10,6 +10,8 @@ $Source$ remove a user did not work under MySQL 4.1.x (only mode 2 worked), so I remove them from the dialog. Thanks to Ken Stanley for the bug report. + * server_status.php: patch #1395031, not proper URL encoding, + adapted from proposed solution by Matt LaPlante, thanks 2006-01-02 Marc Delisle * libraries/display_create_table.lib.php: bug #1389868, diff --git a/server_status.php b/server_status.php index 0756bca0b..73278e65d 100644 --- a/server_status.php +++ b/server_status.php @@ -266,7 +266,7 @@ $links['repl']['MySQL - ' . $strDocu] = $cfg['MySQLManualBase'] . '/replication.html'; $links['qcache'][$strFlushQueryCache] - = $PHP_SELF . '?flush=QUERY CACHE&' . + = $PHP_SELF . '?flush=' . urlencode('QUERY CACHE') . '&' . PMA_generate_common_url(); $links['qcache']['MySQL - ' . $strDocu] = $cfg['MySQLManualBase'] . '/query-cache.html';