issue #13614 Fix link name and url

Signed-off-by: Madhura Jayaratne <madhura.cj@gmail.com>
This commit is contained in:
Madhura Jayaratne 2017-08-29 22:33:36 +10:00
parent 21d55a4553
commit 23024a6bfb
2 changed files with 3 additions and 3 deletions

View File

@ -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 = '<div id="edit_user_dialog">';

View File

@ -422,7 +422,7 @@ if (isset($_REQUEST['adduser'])) {
str_replace(
array('\_', '\%'),
array('_', '%'),
$_REQUEST['dbname']
$dbname
)
);
}