Skip to content

Commit

Permalink
Escape database name when showing dialog
Browse files Browse the repository at this point in the history
Signed-off-by: Michal Čihař <michal@cihar.com>
  • Loading branch information
nijel committed Jun 22, 2016
1 parent 960fd1f commit 57ae483
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion js/functions.js
Original file line number Diff line number Diff line change
Expand Up @@ -3534,7 +3534,7 @@ AJAX.registerOnload('functions.js', function () {
var result_pointer = i;
var search_in = '<input type="text" class="filter_rows" placeholder="' + PMA_messages.searchList + '">';
if (fields === '') {
fields = PMA_sprintf(PMA_messages.strEmptyCentralList, "'" + db + "'");
fields = PMA_sprintf(PMA_messages.strEmptyCentralList, "'" + escapeHtml(db) + "'");
search_in = '';
}
var seeMore = '';
Expand Down

0 comments on commit 57ae483

Please sign in to comment.