mirror of
https://github.com/pgadmin-org/pgadmin4.git
synced 2025-02-25 18:55:31 -06:00
Fixed XSS vulnerability issues. #5277
This commit is contained in:
@@ -548,7 +548,7 @@ export default function QueryToolComponent({params, pgWindow, pgAdmin, selectedN
|
||||
});
|
||||
setPanelTitle(panel, connectionData.title, qtState, isDirtyRef.current);
|
||||
let msg = `${connectionData['server_name']}/${connectionData['database_name']} - Database connected`;
|
||||
Notifier.success(msg);
|
||||
Notifier.success(_.escape(msg));
|
||||
resolve();
|
||||
})
|
||||
.catch((error)=>{
|
||||
|
||||
Reference in New Issue
Block a user