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:
parent
fb23b2cff4
commit
7a79b000bf
@ -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
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user