mirror of
https://git.selfprivacy.org/SelfPrivacy/selfprivacy-rest-api.git
synced 2024-11-25 13:31:27 +00:00
fix: Regex didn't match entire string
This commit is contained in:
parent
27420cc8f6
commit
ed342e08a3
|
@ -27,7 +27,7 @@ class Forgejo(Service):
|
|||
id="subdomain",
|
||||
default_value="git",
|
||||
description="Subdomain",
|
||||
regex=r"[A-Za-z0-9][A-Za-z0-9\-]{0,61}[A-Za-z0-9]",
|
||||
regex=r"^[A-Za-z0-9][A-Za-z0-9\-]{0,61}[A-Za-z0-9]$",
|
||||
widget="subdomain",
|
||||
),
|
||||
"appName": StringServiceConfigItem(
|
||||
|
|
Loading…
Reference in a new issue