kumquat-buildroot/package/flickcurl/flickcurl-0001-Switch-to-https-for-all-service-endpoints.-HTTP-EOL-.patch

41 lines
2.0 KiB
Diff
Raw Normal View History

From 1f5e208a4709a3030258024ea63834aab41bca3c Mon Sep 17 00:00:00 2001
From: Dave Beckett <dave@dajobe.org>
Date: Sat, 31 May 2014 12:10:35 -0700
Subject: [PATCH] Switch to https for all service endpoints. HTTP EOL
2014-06-27
2014-04-30 Flickr announced that it would be HTTPS only from 2014-06-27
http://code.flickr.net/2014/04/30/flickr-api-going-ssl-only-on-june-27th-2014/
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
---
src/common.c | 12 ++++++------
1 file changed, 6 insertions(+), 6 deletions(-)
diff --git a/src/common.c b/src/common.c
index ef05e08..245db18 100644
--- a/src/common.c
+++ b/src/common.c
@@ -73,12 +73,12 @@ const char* const flickcurl_home_url_string = "http://librdf.org/flickcurl/";
const char* const flickcurl_version_string = VERSION;
-const char* const flickcurl_flickr_service_uri = "http://www.flickr.com/services/rest/";
-const char* const flickcurl_flickr_upload_service_uri = "http://api.flickr.com/services/upload/";
-const char* const flickcurl_flickr_replace_service_uri = "http://api.flickr.com/services/replace/";
-const char* const flickcurl_flickr_oauth_request_token_uri = "http://www.flickr.com/services/oauth/request_token";
-const char* const flickcurl_flickr_oauth_authorize_uri = "http://www.flickr.com/services/oauth/authorize";
-const char* const flickcurl_flickr_oauth_access_token_uri = "http://www.flickr.com/services/oauth/access_token";
+const char* const flickcurl_flickr_service_uri = "https://api.flickr.com/services/rest/";
+const char* const flickcurl_flickr_upload_service_uri = "https://up.flickr.com/services/upload/";
+const char* const flickcurl_flickr_replace_service_uri = "https://up.flickr.com/services/replace/";
+const char* const flickcurl_flickr_oauth_request_token_uri = "https://api.flickr.com/services/oauth/request_token";
+const char* const flickcurl_flickr_oauth_authorize_uri = "https://api.flickr.com/services/oauth/authorize";
+const char* const flickcurl_flickr_oauth_access_token_uri = "https://api.flickr.com/services/oauth/access_token";
static void
--
2.0.0