[Xfce4-commits] [apps/xfce4-screenshooter] 01/01: Use HTTPS for imgur (Bug #13415)

noreply at xfce.org noreply at xfce.org
Sun Jun 4 06:08:49 CEST 2017


This is an automated email from the git hooks/post-receive script.

a   n   d   r   e       p   u   s   h   e   d       a       c   o   m   m   i   t       t   o       b   r   a   n   c   h       m   a   s   t   e   r   
   in repository apps/xfce4-screenshooter.

commit 462ccbc7113cd64771c1a37ad7d52ec050fe7974
Author: Andre Miranda <andre42m at gmail.com>
Date:   Sun Jun 4 01:06:41 2017 -0300

    Use HTTPS for imgur (Bug #13415)
    
    Thanks to Mukundan Ragavan
---
 lib/screenshooter-job-callbacks.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/lib/screenshooter-job-callbacks.c b/lib/screenshooter-job-callbacks.c
index d04b6dc..64aa538 100644
--- a/lib/screenshooter-job-callbacks.c
+++ b/lib/screenshooter-job-callbacks.c
@@ -376,11 +376,11 @@ void cb_image_uploaded (ScreenshooterJob  *job,
   job_type = g_object_get_data(G_OBJECT (job), "jobtype");
   if (!strcmp(job_type, "imgur")) {
     title = _("My screenshot on Imgur");
-    image_url = g_strdup_printf ("http://i.imgur.com/%s.png", upload_name);
+    image_url = g_strdup_printf ("https://i.imgur.com/%s.png", upload_name);
     thumbnail_url =
-      g_strdup_printf ("http://imgur.com/%sl.png", upload_name);
+      g_strdup_printf ("https://imgur.com/%sl.png", upload_name);
     small_thumbnail_url =
-      g_strdup_printf ("http://imgur.com/%ss.png", upload_name);
+      g_strdup_printf ("https://imgur.com/%ss.png", upload_name);
   } else {
     g_return_if_fail (last_user == NULL || *last_user == NULL);
     title = _("My screenshot on ZimageZ");

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Xfce4-commits mailing list