From 2d6f3f8cec7451b6e91d833524dc8c7f6991b2b3 Mon Sep 17 00:00:00 2001 From: Hans-Christoph Steiner Date: Thu, 30 Jan 2014 20:32:38 -0500 Subject: [PATCH] use https URI for f-droid.org everywhere and avoid redirects Now that f-droid.org defaults to https, use only https URIs to save redirects and leak less info. --- README | 2 +- fdroidserver/update.py | 2 +- wp-fdroid/wp-fdroid.php | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/README b/README index ee354e8d..4a9ac075 100644 --- a/README +++ b/README @@ -9,4 +9,4 @@ assist in creating, testing and submitting metadata to the main repository. For documentation, please see the docs directory. -Alternatively, visit http://f-droid.org/manual/ +Alternatively, visit https://f-droid.org/manual/ diff --git a/fdroidserver/update.py b/fdroidserver/update.py index 765e6332..ccad3a80 100644 --- a/fdroidserver/update.py +++ b/fdroidserver/update.py @@ -96,7 +96,7 @@ def update_wiki(apps, apks): wikidata += "This app provides: %s" % ', '.join(app['Summary'].split(',')) wikidata += app['Summary'] - wikidata += " - [http://f-droid.org/repository/browse/?fdid=" + app['id'] + " view in repository]\n\n" + wikidata += " - [https://f-droid.org/repository/browse/?fdid=" + app['id'] + " view in repository]\n\n" wikidata += "=Description=\n" wikidata += metadata.description_wiki(app['Description']) + "\n" diff --git a/wp-fdroid/wp-fdroid.php b/wp-fdroid/wp-fdroid.php index b4903d43..0585750e 100644 --- a/wp-fdroid/wp-fdroid.php +++ b/wp-fdroid/wp-fdroid.php @@ -1,7 +1,7 @@