From 5ee2afa71e35bba9d49ed3b69a53ee9c40414254 Mon Sep 17 00:00:00 2001 From: Christoph Heiss Date: Thu, 15 Feb 2024 13:39:35 +0100 Subject: [PATCH] common: fqdn: implement case-insensitive comparison as per RFC 952 Multiple DNS-related RFCs (notably RFC 952, RFC 1035 and RFC 4343) reinforce that FQDN must not be case-sensitive. Signed-off-by: Christoph Heiss --- proxmox-installer-common/src/utils.rs | 28 ++++++++++++++++++++++++++- 1 file changed, 27 insertions(+), 1 deletion(-) diff --git a/proxmox-installer-common/src/utils.rs b/proxmox-installer-common/src/utils.rs index 067e025..0ed7438 100644 --- a/proxmox-installer-common/src/utils.rs +++ b/proxmox-installer-common/src/utils.rs @@ -154,7 +154,7 @@ impl fmt::Display for FqdnParseError { /// /// Some terminology: /// - "label" - a single part of a FQDN, e.g.