summaryrefslogtreecommitdiffstats
path: root/package/flickcurl/flickcurl-0001-Switch-to-https-for-all-service-endpoints.-HTTP-EOL-.patch
blob: 576b6116682b00f0883257e0d119e7f61c9779c4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
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

OpenPOWER on IntegriCloud