From: Hans-Christoph Steiner Date: Fri, 31 Jan 2014 01:32:38 +0000 (-0500) Subject: use https URI for f-droid.org everywhere and avoid redirects X-Git-Tag: 0.2~336^2~3 X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=commitdiff_plain;h=2d6f3f8cec7451b6e91d833524dc8c7f6991b2b3;p=fdroidserver.git 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. --- 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 @@