diff --git a/js/common.js b/js/common.js index a5801fc110..54ae5b8ed8 100644 --- a/js/common.js +++ b/js/common.js @@ -81,8 +81,9 @@ var PMA_commonParams = (function () { */ getUrlQuery: function () { return $.sprintf( - '?%s&db=%s&table=%s', + '?%s&server=%s&db=%s&table=%s', this.get('common_query'), + encodeURIComponent(this.get('server')), encodeURIComponent(this.get('db')), encodeURIComponent(this.get('table')) );