summaryrefslogtreecommitdiff
path: root/plugins/shotwell-publishing/TumblrPublishing.vala
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/shotwell-publishing/TumblrPublishing.vala')
-rw-r--r--plugins/shotwell-publishing/TumblrPublishing.vala2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/shotwell-publishing/TumblrPublishing.vala b/plugins/shotwell-publishing/TumblrPublishing.vala
index 1da9c61..7061d6d 100644
--- a/plugins/shotwell-publishing/TumblrPublishing.vala
+++ b/plugins/shotwell-publishing/TumblrPublishing.vala
@@ -233,7 +233,7 @@ namespace Publishing.Tumblr {
foreach (var blognode in root_object.get_object_member("response").get_object_member("user").get_array_member("blogs").get_elements ()) {
var blog = blognode.get_object ();
string name = blog.get_string_member ("name");
- string url = blog.get_string_member ("url").replace("http://","").replace("/","");
+ string url = blog.get_string_member ("url").replace("http://","").replace("https://", "").replace("/","");
debug("Got blog name: %s and url: %s", name, url);
this.blogs += new BlogEntry(name,url);
}