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