From 14db88447138ee67e1baf7a27db6342943773e1b Mon Sep 17 00:00:00 2001 From: Jakub Vrana Date: Thu, 22 Feb 2018 16:47:30 +0100 Subject: [PATCH] Fix displaying info about non-alphabetical objects (bug #599) --- adminer/static/functions.js | 2 +- changes.txt | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/adminer/static/functions.js b/adminer/static/functions.js index f25fe404..ea88c229 100644 --- a/adminer/static/functions.js +++ b/adminer/static/functions.js @@ -317,7 +317,7 @@ function checkboxClick(event) { * @param string undefined to set parentNode to empty string */ function setHtml(id, html) { - var el = qs('#' + id); + var el = qs('[id="' + id.replace(/[\\"]/g, '\\$&') + '"]'); // database name is used as ID if (el) { if (html == null) { el.parentNode.innerHTML = ''; diff --git a/changes.txt b/changes.txt index 3e83fd8c..0b46da6d 100644 --- a/changes.txt +++ b/changes.txt @@ -1,5 +1,6 @@ Adminer 4.6.3-dev: Stop session before connecting +Fix displaying info about non-alphabetical objects (bug #599) PDO: Support binary fields download Adminer 4.6.2 (released 2018-02-20):