summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormarekm72 <35698605+marekm72@users.noreply.github.com>2024-11-07 23:40:58 +0100
committerGitHub <noreply@github.com>2024-11-07 23:40:58 +0100
commit089a8a8d8ce48d4469cf0fd238e51ddfaed791a9 (patch)
tree3f0b87e390c4e86ad446c1958a30d932c8cc7018
parentc3f688653511881a2270d83cd0f098b45bfa7148 (diff)
downloadvyos-1x-089a8a8d8ce48d4469cf0fd238e51ddfaed791a9.tar.gz
vyos-1x-089a8a8d8ce48d4469cf0fd238e51ddfaed791a9.zip
T6807: allow a trailing slash character in system loginsagitta
Backport fix from current
-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 dd26b00ef..9084427f3 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>