]> git.proxmox.com Git - pve-manager.git/blobdiff - www/manager6/node/APT.js
htmlEncode some comment fields
[pve-manager.git] / www / manager6 / node / APT.js
index 28301c3dc86eecc50c216ad58283aa176858e4c1..3afca02fed009344803f5798ed6725eaab668731 100644 (file)
@@ -37,7 +37,7 @@ Ext.define('PVE.node.APT', {
                 var colspan = headerCt.getColumnCount();
                 // Usually you would style the my-body-class in CSS file
                 return {
-                    rowBody: '<div style="padding: 1em">' + data.Description + '</div>',
+                    rowBody: '<div style="padding: 1em">' + Ext.String.htmlEncode(data.Description) + '</div>',
                     rowBodyColspan: colspan
                 };
            }