1
0
mirror of https://gitlab.com/fdroid/fdroidserver.git synced 2024-08-15 10:50:09 +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:
Marcus Hoffmann 2020-03-10 16:26:34 +01:00
parent c6e68c11f8
commit 56ee7fe765

View File

@ -452,7 +452,7 @@ valuetypes = {
['LiberapayID']),
FieldValidator("Open Collective",
r'^[0-9a-z-]+$',
r'^[0-9a-zA-Z_-]+$',
['OpenCollective']),
FieldValidator("HTTP link",