mirror of
https://gitlab.com/fdroid/fdroidserver.git
synced 2024-09-19 03:30:12 +02:00
Revert "metadata: complain if link url isn't a url"
I already tried this once. It had to be reverted because Maintainer Notes
often don't obey this. I had forgotten.
This reverts commit 97ba94903e
.
This commit is contained in:
parent
e4219dd438
commit
ecd0e07e93
@ -335,8 +335,6 @@ class DescriptionFormatter:
|
|||||||
if index == -1:
|
if index == -1:
|
||||||
raise MetaDataException("Unterminated ]")
|
raise MetaDataException("Unterminated ]")
|
||||||
url = txt[1:index]
|
url = txt[1:index]
|
||||||
if ':' not in url:
|
|
||||||
raise MetaDataException("Wrong link")
|
|
||||||
index2 = url.find(' ')
|
index2 = url.find(' ')
|
||||||
if index2 == -1:
|
if index2 == -1:
|
||||||
urltxt = url
|
urltxt = url
|
||||||
|
Loading…
Reference in New Issue
Block a user