projects
/
proxmox-widget-toolkit.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
dcc46d6
)
add missing htmlEncodes
author
Dominik Csapak
<d.csapak@proxmox.com>
Thu, 30 Apr 2020 14:03:57 +0000
(16:03 +0200)
committer
Thomas Lamprecht
<t.lamprecht@proxmox.com>
Wed, 6 May 2020 14:55:25 +0000
(16:55 +0200)
username can include some special characters, so we have
to escape them
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
window/TaskViewer.js
patch
|
blob
|
blame
|
history
diff --git
a/window/TaskViewer.js
b/window/TaskViewer.js
index 347542e94dc17a5b2fd5ff5e7d8cd921b371c7ef..bbbf716328209e1e38b49bcabff9a69fa88cc782 100644
(file)
--- a/
window/TaskViewer.js
+++ b/
window/TaskViewer.js
@@
-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,
}
};