add missing htmlEncodes

username can include some special characters, so we have
to escape them

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
This commit is contained in:
Dominik Csapak 2020-04-30 16:03:57 +02:00 committed by Thomas Lamprecht
parent dcc46d6d81
commit 92d1c20df7

View File

@ -127,6 +127,7 @@ Ext.define('Proxmox.window.TaskViewer', {
},
user: {
header: gettext('User name'),
renderer: Ext.String.htmlEncode,
required: true
},
node: {
@ -146,7 +147,8 @@ Ext.define('Proxmox.window.TaskViewer', {
renderer: Proxmox.Utils.render_timestamp
},
upid: {
header: gettext('Unique task ID')
header: gettext('Unique task ID'),
renderer: Ext.String.htmlEncode,
}
};