1
0
mirror of https://gitlab.com/fdroid/fdroidserver.git synced 2024-09-11 23:23:27 +02:00

Allow slashes in tags

The wikipedia app uses them, for example.
This commit is contained in:
Daniel Martí 2015-09-11 23:17:14 -07:00
parent fb23b2cff4
commit 7a79b000bf

View File

@ -531,7 +531,7 @@ class vcs:
raise VCSException('gettags not supported for this vcs type')
rtags = []
for tag in self._gettags():
if re.match('[-A-Za-z0-9_. ]+$', tag):
if re.match('[-A-Za-z0-9_. /]+$', tag):
rtags.append(tag)
return rtags