From d19dbe892bdce69ac0e0ec8d3c378f88f394865a Mon Sep 17 00:00:00 2001 From: Friedrich Weber Date: Mon, 31 Mar 2025 11:20:20 +0200 Subject: [PATCH] utils: render upid: htmlEncode UPID to avoid interpreting HTML. Signed-off-by: Friedrich Weber --- src/Utils.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Utils.js b/src/Utils.js index c873c85..688679b 100644 --- a/src/Utils.js +++ b/src/Utils.js @@ -808,7 +808,7 @@ utilities: { let type = task.type || task.worker_type; let id = task.id || task.worker_id; - return Proxmox.Utils.format_task_description(type, id); + return Ext.htmlEncode(Proxmox.Utils.format_task_description(type, id)); }, render_uptime: function(value) {