From 23024a6bfba28b48fe87ff2ece1f4b1c11ab5484 Mon Sep 17 00:00:00 2001 From: Madhura Jayaratne Date: Tue, 29 Aug 2017 22:33:36 +1000 Subject: [PATCH] issue #13614 Fix link name and url Signed-off-by: Madhura Jayaratne --- libraries/classes/Server/Privileges.php | 4 ++-- server_privileges.php | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/libraries/classes/Server/Privileges.php b/libraries/classes/Server/Privileges.php index 7b4a8137d8..05ae59510b 100644 --- a/libraries/classes/Server/Privileges.php +++ b/libraries/classes/Server/Privileges.php @@ -3121,7 +3121,7 @@ class Privileges ) ) . '">' - . htmlspecialchars($dbname) . ': ' + . htmlspecialchars(Util::unescapeMysqlWildcards($dbname)) . ': ' . Util::getTitleForTarget( $GLOBALS['cfg']['DefaultTabDatabase'] ) @@ -4743,7 +4743,7 @@ class Privileges * * @return string $html_output */ - public static function getHtmlForUserProperties($dbname_is_wildcard,$url_dbname, + public static function getHtmlForUserProperties($dbname_is_wildcard, $url_dbname, $username, $hostname, $dbname, $tablename ) { $html_output = '
'; diff --git a/server_privileges.php b/server_privileges.php index 23022a72b5..6270ab0002 100644 --- a/server_privileges.php +++ b/server_privileges.php @@ -422,7 +422,7 @@ if (isset($_REQUEST['adduser'])) { str_replace( array('\_', '\%'), array('_', '%'), - $_REQUEST['dbname'] + $dbname ) ); }