From d5a2b005befdb8c2a4d77cb5704bd618c5324e58 Mon Sep 17 00:00:00 2001 From: Stefan Hundhammer Date: Thu, 15 Feb 2024 12:53:07 +0100 Subject: [PATCH 1/2] Allow host/domain names starting with an underscore (bsc#1219920) --- library/types/src/modules/Hostname.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/library/types/src/modules/Hostname.rb b/library/types/src/modules/Hostname.rb index 7de088c6b..ed8b7dde6 100644 --- a/library/types/src/modules/Hostname.rb +++ b/library/types/src/modules/Hostname.rb @@ -81,7 +81,7 @@ def ValidFQ def Check(host) return false if host.nil? || host == "" || Ops.greater_than(Builtins.size(host), 63) - Builtins.regexpmatch(host, "^[[:alnum:]]([[:alnum:]-]*[[:alnum:]])?$") + Builtins.regexpmatch(host, "^[[:alnum:]_]([[:alnum:]-]*[[:alnum:]])?$") end # Check syntax of domain entry From 4904e3b84e0d22f648f342ba3f6883b4a5637c8c Mon Sep 17 00:00:00 2001 From: Stefan Hundhammer Date: Thu, 15 Feb 2024 12:56:47 +0100 Subject: [PATCH 2/2] Version bump and change log --- package/yast2.changes | 6 ++++++ package/yast2.spec | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/package/yast2.changes b/package/yast2.changes index 9aee99cb6..e4144b65f 100644 --- a/package/yast2.changes +++ b/package/yast2.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Thu Feb 15 11:55:58 UTC 2024 - Stefan Hundhammer + +- Allow host/domain names starting with an underscore (bsc#1219920) +- 4.5.26 + ------------------------------------------------------------------- Mon Mar 6 13:09:12 UTC 2023 - Stefan Hundhammer diff --git a/package/yast2.spec b/package/yast2.spec index 96e811b03..5cb0fb4aa 100644 --- a/package/yast2.spec +++ b/package/yast2.spec @@ -17,7 +17,7 @@ Name: yast2 -Version: 4.5.25 +Version: 4.5.26 Release: 0 Summary: YaST2 Main Package