mirror of
https://gitlab.com/fdroid/fdroidserver.git
synced 2024-11-10 01:10:11 +01:00
Version names can contain any character
This commit is contained in:
parent
f6fb7416c5
commit
13e760ece6
@ -839,10 +839,10 @@ def description_html(lines,linkres):
|
|||||||
# All values returned are strings.
|
# All values returned are strings.
|
||||||
def parse_androidmanifest(app_dir):
|
def parse_androidmanifest(app_dir):
|
||||||
|
|
||||||
vcsearch = re.compile(r'.*android:versionCode="([^"]+)".*').search
|
vcsearch = re.compile(r'.*android:versionCode="([0-9]+)".*').search
|
||||||
vnsearch = re.compile(r'.*android:versionName="([\.0-9a-zA-Z]+)".*').search
|
vnsearch = re.compile(r'.*android:versionName="([^@]+)".*').search
|
||||||
psearch = re.compile(r'.*package="([^"]+)".*').search
|
psearch = re.compile(r'.*package="([^"]+)".*').search
|
||||||
vnsearch_xml = re.compile(r'.*"app_version">([\.0-9a-zA-Z]+)<.*').search
|
vnsearch_xml = re.compile(r'.*"app_version">([^<]+)<.*').search
|
||||||
version = None
|
version = None
|
||||||
vercode = None
|
vercode = None
|
||||||
package = None
|
package = None
|
||||||
|
Loading…
Reference in New Issue
Block a user