From 2b7b37d3e33afc84709b801494d3d88cf105ebc6 Mon Sep 17 00:00:00 2001 From: opi Date: Tue, 22 Sep 2015 19:53:59 +0200 Subject: [PATCH] [fix] Use SSL/TLS to fetch app list for christ's sake --- lib/yunohost/app.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/yunohost/app.py b/lib/yunohost/app.py index 421e017d3..d8b1b7b7a 100644 --- a/lib/yunohost/app.py +++ b/lib/yunohost/app.py @@ -66,7 +66,7 @@ def app_fetchlist(url=None, name=None): Keyword argument: name -- Name of the list (default yunohost) - url -- URL of remote JSON list (default http://app.yunohost.org/list.json) + url -- URL of remote JSON list (default https://app.yunohost.org/list.json) """ # Create app path if not exists @@ -74,7 +74,7 @@ def app_fetchlist(url=None, name=None): except OSError: os.makedirs(repo_path) if url is None: - url = 'http://app.yunohost.org/list.json' + url = 'https://app.yunohost.org/list.json' name = 'yunohost' else: if name is None: