The branch, master has been updated
       via  7b54504cc0981821619ffd3f0759766448e6b879 (commit)
      from  679814416f4842f8e0e189c054772edf2d20ddef (commit)


- Log -----------------------------------------------------------------
commit 7b54504cc0981821619ffd3f0759766448e6b879
Author: Michal Čihař <[email protected]>
Date:   Fri Aug 19 12:16:59 2011 +0200

    Fix handling of tables with something what gets urlencoded

-----------------------------------------------------------------------

Summary of changes:
 server_privileges.php |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/server_privileges.php b/server_privileges.php
index a1b7acb..685b817 100644
--- a/server_privileges.php
+++ b/server_privileges.php
@@ -1416,7 +1416,7 @@ if (isset($_REQUEST['flush_privileges'])) {
 /**
  * defines some standard links
  */
-$link_edit = '<a class="edit_user_anchor ' . $conditional_class . '" 
href="server_privileges.php?' . $GLOBALS['url_query']
+$link_edit = '<a class="edit_user_anchor ' . $conditional_class . '" 
href="server_privileges.php?' . str_replace($GLOBALS['url_query'], '%', '%%')
     . '&amp;username=%s'
     . '&amp;hostname=%s'
     . '&amp;dbname=%s'
@@ -1424,7 +1424,7 @@ $link_edit = '<a class="edit_user_anchor ' . 
$conditional_class . '" href="serve
     . PMA_getIcon('b_usredit.png', __('Edit Privileges'))
     . '</a>';
 
-$link_revoke = '<a href="server_privileges.php?' . $GLOBALS['url_query']
+$link_revoke = '<a href="server_privileges.php?' . 
str_replace($GLOBALS['url_query'], '%', '%%')
     . '&amp;username=%s'
     . '&amp;hostname=%s'
     . '&amp;dbname=%s'
@@ -1433,7 +1433,7 @@ $link_revoke = '<a href="server_privileges.php?' . 
$GLOBALS['url_query']
     . PMA_getIcon('b_usrdrop.png', __('Revoke'))
     . '</a>';
 
-$link_export = '<a class="export_user_anchor ' . $conditional_class . '" 
href="server_privileges.php?' . $GLOBALS['url_query']
+$link_export = '<a class="export_user_anchor ' . $conditional_class . '" 
href="server_privileges.php?' . str_replace($GLOBALS['url_query'], '%', '%%')
     . '&amp;username=%s'
     . '&amp;hostname=%s'
     . '&amp;initial=%s'


hooks/post-receive
-- 
phpMyAdmin

------------------------------------------------------------------------------
Get a FREE DOWNLOAD! and learn more about uberSVN rich system, 
user administration capabilities and model configuration. Take 
the hassle out of deploying and managing Subversion and the 
tools developers use with it. http://p.sf.net/sfu/wandisco-d2d-2
_______________________________________________
Phpmyadmin-git mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/phpmyadmin-git

Reply via email to