[grilo-plugins] youtube: Use HTTPS rather than insecure HTTP



commit 8d8c86ad230f745fc2f65c50f00da0433f07f630
Author: Elad Alfassa <elad fedoraproject org>
Date:   Sun Jan 25 23:19:50 2015 +0200

    youtube: Use HTTPS rather than insecure HTTP
    
    To avoid leaking (potentially uniquely identifiable) user data over
    plain text (be it search phrases, hashes of contact emails, etc etc),
    use HTTPS whenever possible.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=743449

 src/youtube/grl-youtube.c |   10 +++++-----
 1 files changed, 5 insertions(+), 5 deletions(-)
---
diff --git a/src/youtube/grl-youtube.c b/src/youtube/grl-youtube.c
index 667174f..1e2081b 100644
--- a/src/youtube/grl-youtube.c
+++ b/src/youtube/grl-youtube.c
@@ -61,7 +61,7 @@ GRL_LOG_DOMAIN_STATIC(youtube_log_domain);
 
 #define YOUTUBE_CATEGORIES_ID   "categories"
 #define YOUTUBE_CATEGORIES_NAME N_("Categories")
-#define YOUTUBE_CATEGORIES_URL  "http://gdata.youtube.com/schemas/2007/categories.cat";
+#define YOUTUBE_CATEGORIES_URL  "https://gdata.youtube.com/schemas/2007/categories.cat";
 
 /* ----- Feeds categories ---- */
 
@@ -99,10 +99,10 @@ GRL_LOG_DOMAIN_STATIC(youtube_log_domain);
 
 #define YOUTUBE_MAX_CHUNK       50
 
-#define YOUTUBE_VIDEO_INFO_URL  "http://www.youtube.com/get_video_info?video_id=%s";
-#define YOUTUBE_VIDEO_URL       "http://www.youtube.com/get_video?video_id=%s&t=%s&asv=";
-#define YOUTUBE_CATEGORY_URL    
"http://gdata.youtube.com/feeds/api/videos/-/%s?&start-index=%s&max-results=%s";
-#define YOUTUBE_WATCH_URL       "http://www.youtube.com/watch?v=";
+#define YOUTUBE_VIDEO_INFO_URL  "https://www.youtube.com/get_video_info?video_id=%s";
+#define YOUTUBE_VIDEO_URL       "https://www.youtube.com/get_video?video_id=%s&t=%s&asv=";
+#define YOUTUBE_CATEGORY_URL    
"https://gdata.youtube.com/feeds/api/videos/-/%s?&start-index=%s&max-results=%s";
+#define YOUTUBE_WATCH_URL       "https://www.youtube.com/watch?v=";
 
 #define YOUTUBE_VIDEO_MIME      "application/x-shockwave-flash"
 #define YOUTUBE_SITE_URL        "www.youtube.com"


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]