Fixed some issues in Backup and PSQL tool

This commit is contained in:
Akshay Joshi
2023-07-19 20:29:00 +05:30
parent 25e05de27d
commit a3c3d91515
3 changed files with 5 additions and 3 deletions

View File

@@ -235,7 +235,7 @@ export function initialize(gettext, url_for, _, pgAdmin, csrfToken, Browser) {
let closeUrl = url_for('psql.close', {
trans_id: transId,
});
return [openUrl, closeUrl, pData.database._label];
return [openUrl, closeUrl, _.escape(pData.database._label)];
},
psql_terminal: function() {
// theme colors