* [pmg-devel] [PATCH pmg-gui] system options: html encode 'from for admin mail' field
@ 2025-02-26 9:50 Dominik Csapak
2025-02-26 9:58 ` [pmg-devel] applied: " Thomas Lamprecht
0 siblings, 1 reply; 2+ messages in thread
From: Dominik Csapak @ 2025-02-26 9:50 UTC (permalink / raw)
To: pmg-devel
since that often has the format of: "Name <some@email.example>"
and the <..> part will be incorrectly interpreted as html otherwise.
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
---
js/SystemOptions.js | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/js/SystemOptions.js b/js/SystemOptions.js
index 3c8d960..cc098ce 100644
--- a/js/SystemOptions.js
+++ b/js/SystemOptions.js
@@ -76,7 +76,7 @@ Ext.define('PMG.SystemOptions', {
{ deleteEmpty: true, defaultValue: Proxmox.Utils.noneText });
me.add_text_row('admin-mail-from', gettext("'From:' for Admin Mail"),
- { deleteEmpty: true, defaultValue: Proxmox.Utils.noneText });
+ { deleteEmpty: true, defaultValue: Proxmox.Utils.noneText, renderer: Ext.htmlEncode });
me.add_proxy_row('http_proxy', gettext("HTTP proxy"));
--
2.39.5
_______________________________________________
pmg-devel mailing list
pmg-devel@lists.proxmox.com
https://lists.proxmox.com/cgi-bin/mailman/listinfo/pmg-devel
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2025-02-26 9:58 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-02-26 9:50 [pmg-devel] [PATCH pmg-gui] system options: html encode 'from for admin mail' field Dominik Csapak
2025-02-26 9:58 ` [pmg-devel] applied: " Thomas Lamprecht
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
Service provided by Proxmox Server Solutions GmbH | Privacy | Legal