bu5hm4n pushed a commit to branch master.

http://git.enlightenment.org/apps/extra.git/commit/?id=936b7edf00c134dfe7b68c2884fe7eb420deb0e2

commit 936b7edf00c134dfe7b68c2884fe7eb420deb0e2
Author: Marcel Hollerbach <[email protected]>
Date:   Sun Mar 22 15:41:31 2020 +0100

    extra: roll to https
    
    its 2020, lets encrypt that.
---
 src/lib/extra.c | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/src/lib/extra.c b/src/lib/extra.c
index f0f0294..85ad0da 100644
--- a/src/lib/extra.c
+++ b/src/lib/extra.c
@@ -301,11 +301,11 @@ extra_sync(Extra_Progress *progress)
 
    req->progress = progress;
 
-   req->themes = ecore_con_url_custom_new("http://"; HOSTNAME "/v1/themes/", 
"GET");
+   req->themes = ecore_con_url_custom_new("https://"; HOSTNAME "/v1/themes/", 
"GET");
    ecore_con_url_additional_header_add(req->themes, "Accept", "text/json");
    ecore_con_url_data_set(req->themes, eina_strbuf_new());
 
-   req->backgrounds = ecore_con_url_custom_new("http://"; HOSTNAME 
"/v1/backgrounds/", "GET");
+   req->backgrounds = ecore_con_url_custom_new("https://"; HOSTNAME 
"/v1/backgrounds/", "GET");
    ecore_con_url_additional_header_add(req->backgrounds, "Accept", 
"text/json");
    ecore_con_url_data_set(req->backgrounds, eina_strbuf_new());
 
@@ -385,7 +385,7 @@ _extra_preview_path_pair_gen(const char *resource, 
Extra_Base_Object *obj)
    remote = eina_strbuf_new();
    local = eina_strbuf_new();
 
-   eina_strbuf_append_printf(remote, "http://"; HOSTNAME "/%s/preview/%s.png", 
resource, obj->id);
+   eina_strbuf_append_printf(remote, "https://"; HOSTNAME "/%s/preview/%s.png", 
resource, obj->id);
    eina_strbuf_append_printf(local, "%s/%s/%s-%s-%d.png", 
efreet_cache_home_get(), PACKAGE_NAME, resource, obj->id, obj->version);
 
    result->local = eina_strbuf_string_steal(local);
@@ -470,7 +470,7 @@ extra_theme_download_url_get(Extra_Theme *theme)
    EINA_SAFETY_ON_NULL_RETURN_VAL(theme, NULL);
 
    buf = eina_strbuf_new();
-   eina_strbuf_append(buf, "http://"; HOSTNAME "/themes/");
+   eina_strbuf_append(buf, "https://"; HOSTNAME "/themes/");
    eina_strbuf_append_printf(buf, "%s-%d.edj", theme->obj.id, 
theme->obj.version);
 
    url = eina_strbuf_string_steal(buf);
@@ -664,7 +664,7 @@ extra_background_download_url_get(Extra_Background 
*background)
    EINA_SAFETY_ON_NULL_RETURN_VAL(background, NULL);
 
    buf = eina_strbuf_new();
-   eina_strbuf_append(buf, "http://"; HOSTNAME "/backgrounds/");
+   eina_strbuf_append(buf, "https://"; HOSTNAME "/backgrounds/");
    eina_strbuf_append_printf(buf, "%s-%d.edj", background->obj.id, 
background->obj.version);
 
    url = eina_strbuf_string_steal(buf);

-- 


Reply via email to