[pve-devel] [PATCH installer 5/5] fix #5230: sys: net: properly escape FQDN regex

2024-02-15 Thread Christoph Heiss
Due to interpolation, the \. sequence must be double-escaped. Previously, this would result in a non-escaped dot, thus matching much more liberally than it should. Signed-off-by: Christoph Heiss --- Proxmox/Sys/Net.pm| 2 +- proxmox-installer-common/src/utils.rs | 6 ++ t

Re: [pve-devel] [PATCH installer 5/5] fix #5230: sys: net: properly escape FQDN regex

2024-02-23 Thread Thomas Lamprecht
Am 15/02/2024 um 13:39 schrieb Christoph Heiss: > Due to interpolation, the \. sequence must be double-escaped. > Previously, this would result in a non-escaped dot, thus matching much > more liberally than it should. > OK, but... > diff --git a/proxmox-installer-common/src/utils.rs > b/proxmo

Re: [pve-devel] [PATCH installer 5/5] fix #5230: sys: net: properly escape FQDN regex

2024-02-26 Thread Christoph Heiss
On Fri, Feb 23, 2024 at 05:27:52PM +0100, Thomas Lamprecht wrote: > Am 15/02/2024 um 13:39 schrieb Christoph Heiss: > > Due to interpolation, the \. sequence must be double-escaped. > > Previously, this would result in a non-escaped dot, thus matching much > > more liberally than it should. > > > >