summaryrefslogtreecommitdiff
path: root/plugins/shotwell-publishing-extras/TumblrPublishing.vala
diff options
context:
space:
mode:
authorJörg Frings-Fürst <debian@jff-webhosting.net>2017-02-03 14:19:34 +0100
committerJörg Frings-Fürst <debian@jff-webhosting.net>2017-02-03 14:19:34 +0100
commit1591cbba009ca2537ea7a41a0c25722a68b1a647 (patch)
tree22275360dc0f592db8bfc0df5167b8380f3f52af /plugins/shotwell-publishing-extras/TumblrPublishing.vala
parentdf7e4c149ba97ebcd37fadffc053e32526a99741 (diff)
parente69c1b746d63bf794316669471474ab57c8cd40a (diff)
Merge tag 'upstream/0.25.4'
Upstream version 0.25.4
Diffstat (limited to 'plugins/shotwell-publishing-extras/TumblrPublishing.vala')
-rw-r--r--plugins/shotwell-publishing-extras/TumblrPublishing.vala6
1 files changed, 3 insertions, 3 deletions
diff --git a/plugins/shotwell-publishing-extras/TumblrPublishing.vala b/plugins/shotwell-publishing-extras/TumblrPublishing.vala
index 183bc31..12b4ade 100644
--- a/plugins/shotwell-publishing-extras/TumblrPublishing.vala
+++ b/plugins/shotwell-publishing-extras/TumblrPublishing.vala
@@ -59,7 +59,7 @@ public class TumblrService : Object, Spit.Pluggable, Spit.Publishing.Service {
namespace Publishing.Tumblr {
internal const string SERVICE_NAME = "Tumblr";
-internal const string ENDPOINT_URL = "http://www.tumblr.com/";
+internal const string ENDPOINT_URL = "https://www.tumblr.com/";
internal const string API_KEY = "NdXvXQuKVccOsCOj0H4k9HUJcbcjDBYSo2AkaHzXFECHGNuP9k";
internal const string API_SECRET = "BN0Uoig0MwbeD27OgA0IwYlp3Uvonyfsrl9pf1cnnMj1QoEUvi";
internal const string ENCODE_RFC_3986_EXTRA = "!*'();:@&=+$,/?%#[] \\";
@@ -865,7 +865,7 @@ internal class AccessTokenFetchTransaction : Transaction {
internal class UserInfoFetchTransaction : Transaction {
public UserInfoFetchTransaction(Session session) {
- base.with_uri(session, "http://api.tumblr.com/v2/user/info",
+ base.with_uri(session, "https://api.tumblr.com/v2/user/info",
Publishing.RESTSupport.HttpMethod.POST);
}
}
@@ -896,7 +896,7 @@ internal class UploadTransaction : Publishing.RESTSupport.UploadTransaction {
public UploadTransaction(Session session,Spit.Publishing.Publishable publishable, string blog_url) {
debug("Init upload transaction");
- base.with_endpoint_url(session, publishable,"http://api.tumblr.com/v2/blog/%s/post".printf(blog_url) );
+ base.with_endpoint_url(session, publishable,"https://api.tumblr.com/v2/blog/%s/post".printf(blog_url) );
this.session = session;
}