summaryrefslogtreecommitdiff
path: root/rest-extras/flickr-proxy.c
diff options
context:
space:
mode:
authorChristophe Fergeau <cfergeau@redhat.com>2014-09-02 21:23:04 +0200
committerChristophe Fergeau <cfergeau@redhat.com>2014-09-03 10:23:44 +0200
commit19c5f952e9e30790795f3548c125e53392e8bb14 (patch)
tree431132bfacd1320850a775313d67ac7366ad9403 /rest-extras/flickr-proxy.c
parent73984ab8bad002080885df1a12efd97b35ba7810 (diff)
downloadlibrest-19c5f952e9e30790795f3548c125e53392e8bb14.tar.gz
Fix URL used for flickr rest calls
https must be used, and the correct URL for uploads is up.flickr.com https://bugzilla.gnome.org/show_bug.cgi?id=735920
Diffstat (limited to 'rest-extras/flickr-proxy.c')
-rw-r--r--rest-extras/flickr-proxy.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/rest-extras/flickr-proxy.c b/rest-extras/flickr-proxy.c
index 48f1c86..3342a4d 100644
--- a/rest-extras/flickr-proxy.c
+++ b/rest-extras/flickr-proxy.c
@@ -188,7 +188,7 @@ flickr_proxy_new_with_token (const char *api_key,
"api-key", api_key,
"shared-secret", shared_secret,
"token", token,
- "url-format", "http://api.flickr.com/services/%s/",
+ "url-format", "https://%s.flickr.com/services/%s/",
"binding-required", TRUE,
NULL);
}