mirror of
https://gitlab.com/fdroid/fdroidserver.git
synced 2024-11-09 00:40:11 +01:00
Support Uri.create()
syntax for maven repositories
This commit is contained in:
parent
4a8b6432a4
commit
825f969652
@ -50,7 +50,7 @@ class MessageStore:
|
|||||||
errors: list = field(default_factory=list)
|
errors: list = field(default_factory=list)
|
||||||
|
|
||||||
|
|
||||||
MAVEN_URL_REGEX = re.compile(r"""\smaven\s*(?:{.*?(?:setUrl|url)|\((?:url)?)\s*=?\s*(?:uri)?\(?\s*["']?([^\s"']+)["']?[^})]*[)}]""",
|
MAVEN_URL_REGEX = re.compile(r"""\smaven\s*(?:{.*?(?:setUrl|url)|\((?:url)?)\s*=?\s*(?:uri|Uri\.create\()?\(?\s*["']?([^\s"']+)["']?[^})]*[)}]""",
|
||||||
re.DOTALL)
|
re.DOTALL)
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user