summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniil Baturin <daniil@vyos.io>2024-11-01 16:23:44 +0000
committerGitHub <noreply@github.com>2024-11-01 16:23:44 +0000
commit47aa697fd646accc2f333f6409885640a9631e2e (patch)
tree9d05df5368faf380e4d124d7dcab035f31b27800
parentba18d12f6863505133cde688d5e8188689af63bb (diff)
parent64d291e78291123b0db7f72de0af0129c8e046ed (diff)
downloadvyos-1x-47aa697fd646accc2f333f6409885640a9631e2e.tar.gz
vyos-1x-47aa697fd646accc2f333f6409885640a9631e2e.zip
Merge pull request #4171 from aslanvyos/patch-1
system_login: T6807: allow a trailing slash character in system login
-rw-r--r--interface-definitions/system_login.xml.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/interface-definitions/system_login.xml.in b/interface-definitions/system_login.xml.in
index f6c8021d3..9865e3d32 100644
--- a/interface-definitions/system_login.xml.in
+++ b/interface-definitions/system_login.xml.in
@@ -190,7 +190,7 @@
<description>Path to home directory</description>
</valueHelp>
<constraint>
- <regex>\/$|(\/[a-zA-Z_0-9-.]+)+</regex>
+ <regex>(\/[a-zA-Z_0-9-.]+)+\/?$</regex>
</constraint>
</properties>
</leafNode>