mirror of
https://gitlab.com/fdroid/fdroidserver.git
synced 2024-09-17 10:40:12 +02:00
opencollecive: fix allowed characters
The url slug used by opencollective allows case variations, they all lead back to the canonical lowercase variant though. Apart from ascii characters and numbers only - and _ are allowed.
This commit is contained in:
parent
c6e68c11f8
commit
56ee7fe765
@ -452,7 +452,7 @@ valuetypes = {
|
|||||||
['LiberapayID']),
|
['LiberapayID']),
|
||||||
|
|
||||||
FieldValidator("Open Collective",
|
FieldValidator("Open Collective",
|
||||||
r'^[0-9a-z-]+$',
|
r'^[0-9a-zA-Z_-]+$',
|
||||||
['OpenCollective']),
|
['OpenCollective']),
|
||||||
|
|
||||||
FieldValidator("HTTP link",
|
FieldValidator("HTTP link",
|
||||||
|
Loading…
Reference in New Issue
Block a user