]> git.proxmox.com Git - pmg-gui.git/commit
mail filter: properly html-encode rule names
authorLeo Nunner <l.nunner@proxmox.com>
Tue, 28 Mar 2023 12:08:21 +0000 (14:08 +0200)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Wed, 17 May 2023 10:01:35 +0000 (12:01 +0200)
commitdf2a647a7263efb667d801c3547883bcc72951df
treeecfdd86d6b1d17b86338a48f5e95dab869b0fc54
parent0b525fba79f033b6e86b3ace9c7da329ff63e608
mail filter: properly html-encode rule names

Rule names were not HTML-encoded in the rule overview. While some
encoding did happen, it was only on the first load for the info panel
on the right hand side, which was overriden as soon as the edit
window was opened/closed again.

The variable binding now gets HTML-encoded automatically, and the
renderer for rule names has been set to Ext.htmlEncode.

Signed-off-by: Leo Nunner <l.nunner@proxmox.com>
 [ T: rework commit message a bit (mostly subject) ]
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
js/RuleConfiguration.js
js/RuleInfo.js