all lists on lists.proxmox.com
 help / color / mirror / Atom feed
* [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

* [pmg-devel] applied: [PATCH pmg-gui] system options: html encode 'from for admin mail' field
  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 ` Thomas Lamprecht
  0 siblings, 0 replies; 2+ messages in thread
From: Thomas Lamprecht @ 2025-02-26  9:58 UTC (permalink / raw)
  To: Dominik Csapak, pmg-devel

Am 26.02.25 um 10:50 schrieb Dominik Csapak:
> 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(-)
> 
>

applied, thanks!


_______________________________________________
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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.
Service provided by Proxmox Server Solutions GmbH | Privacy | Legal