public inbox for pve-devel@lists.proxmox.com
 help / color / mirror / Atom feed
* [pve-devel] [PATCH common/cluster 0/3] fix #4937: fix utf8 encoding issues while saving notification config
@ 2023-08-30 12:37 Lukas Wagner
  2023-08-30 12:37 ` [pve-devel] [PATCH pve-common 1/3] tools: allow to specify file encoding for file_set_contents Lukas Wagner
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: Lukas Wagner @ 2023-08-30 12:37 UTC (permalink / raw)
  To: pve-devel

These patches should fix issues with certain special characters
(e.g ü) in the notification configuration [1].
Before, when setting a comment for an endpoint to certain values 
(e.g. 'für admins'), the resulting saved configuration would 
contain invalid UTF8 text.

The reason for that was the configuration was returned from
Rust as a proper utf8 string, however it was saved to the file 
system without specifying an encoding.


[1] https://bugzilla.proxmox.com/show_bug.cgi?id=4937



pve-common:

Lukas Wagner (1):
  tools: allow to specify file encoding for file_set_contents

 src/PVE/Tools.pm | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)


pve-cluster:

Lukas Wagner (2):
  cluster fs: allow to specify file encoding for cfs_write_file
  fix #4937: notify: write configuration files in utf8 encoding

 src/PVE/Cluster.pm | 4 ++--
 src/PVE/Notify.pm  | 4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)


Summary over all repositories:
  3 files changed, 10 insertions(+), 5 deletions(-)

-- 
murpp v0.4.0





^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2023-09-11 12:50 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-08-30 12:37 [pve-devel] [PATCH common/cluster 0/3] fix #4937: fix utf8 encoding issues while saving notification config Lukas Wagner
2023-08-30 12:37 ` [pve-devel] [PATCH pve-common 1/3] tools: allow to specify file encoding for file_set_contents Lukas Wagner
2023-08-30 12:37 ` [pve-devel] [PATCH pve-cluster 2/3] cluster fs: allow to specify file encoding for cfs_write_file Lukas Wagner
2023-08-30 12:37 ` [pve-devel] [PATCH pve-cluster 3/3] fix #4937: notify: write configuration files in utf8 encoding Lukas Wagner
2023-09-01  7:40 ` [pve-devel] [PATCH common/cluster 0/3] fix #4937: fix utf8 encoding issues while saving notification config Lukas Wagner
2023-09-11 12:50 ` [pve-devel] applied-series: " Fiona Ebner

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