1
0
mirror of https://gitlab.com/fdroid/fdroidserver.git synced 2024-11-09 00:40:11 +01: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') raise VCSException('gettags not supported for this vcs type')
rtags = [] rtags = []
for tag in self._gettags(): for tag in self._gettags():
if re.match('[-A-Za-z0-9_. ]+$', tag): if re.match('[-A-Za-z0-9_. /]+$', tag):
rtags.append(tag) rtags.append(tag)
return rtags return rtags