From 49248ba3a9d4cf6ea5cb17396600cab8ab2ad15f Mon Sep 17 00:00:00 2001 From: Jochen Sprickerhof Date: Mon, 7 Jun 2021 18:52:57 +0200 Subject: [PATCH] [lint] only check for https with UpdateCheckMode HTTP With 133b626b UpdateCheckMode is now also allowed with Tags but it uses the files from the local repo. --- fdroidserver/lint.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fdroidserver/lint.py b/fdroidserver/lint.py index bf558ba0..82f3b84c 100644 --- a/fdroidserver/lint.py +++ b/fdroidserver/lint.py @@ -217,7 +217,7 @@ def get_lastbuild(builds): def check_update_check_data_url(app): """UpdateCheckData must have a valid HTTPS URL to protect checkupdates runs """ - if app.UpdateCheckData: + if app.UpdateCheckData and app.UpdateCheckMode == 'HTTP': urlcode, codeex, urlver, verex = app.UpdateCheckData.split('|') for url in (urlcode, urlver): if url != '.':