]> git.proxmox.com Git - pmg-gui.git/commitdiff
use htmlEncode for the username
authorDominik Csapak <d.csapak@proxmox.com>
Thu, 11 Jan 2018 08:39:42 +0000 (09:39 +0100)
committerDietmar Maurer <dietmar@proxmox.com>
Thu, 11 Jan 2018 09:19:51 +0000 (10:19 +0100)
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
js/UserEdit.js

index e3ab5a296970680e4dee4a3e6c5838e674b732eb..48e1e58882e8655b93849fab6d0e65215333bb28 100644 (file)
@@ -38,6 +38,7 @@ Ext.define('PMG.UserEdit', {
                xtype: 'textfield',
                name: 'username',
                fieldLabel: gettext('User name'),
+               renderer: Ext.htmlEncode,
                allowBlank: false,
                cbind: {
                    submitValue: '{isCreate}',