From 6c00ee0c848640fe5c0d85d0a71106a7215ac902 Mon Sep 17 00:00:00 2001 From: Christian Breunig Date: Fri, 18 Aug 2023 08:29:27 +0200 Subject: login: T5490: allow . (dot) in user home-directory path his extends commit b9655365b ("login: T5490: add stricter validation for home-directory path") by adding a dot to the REGEX allow list. This was previously allowed and covered in out smoketests which failed. --- interface-definitions/system-login.xml.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'interface-definitions') diff --git a/interface-definitions/system-login.xml.in b/interface-definitions/system-login.xml.in index 90f56cc9d..71db8b1d6 100644 --- a/interface-definitions/system-login.xml.in +++ b/interface-definitions/system-login.xml.in @@ -189,7 +189,7 @@ Path to home directory - \/$|(\/[a-zA-Z_0-9-]+)+ + \/$|(\/[a-zA-Z_0-9-.]+)+ -- cgit v1.2.3