From 232a79057b9995b6463d4b96b8b2d1758887ac8a Mon Sep 17 00:00:00 2001 From: Michael Date: Sat, 28 Sep 2019 17:13:40 +0000 Subject: [PATCH] tumblr: Now using https instead of http for the endpoints --- tumblr/library/tumblroauth.php | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/tumblr/library/tumblroauth.php b/tumblr/library/tumblroauth.php index 948b19b6..37da6142 100644 --- a/tumblr/library/tumblroauth.php +++ b/tumblr/library/tumblroauth.php @@ -15,7 +15,7 @@ class TumblrOAuth { /* Contains the last API call. */ public $url; /* Set up the API root URL. */ - public $host = "http://api.tumblr.com/v2/"; + public $host = "https://api.tumblr.com/v2/"; /* Set timeout default. */ public $timeout = 30; /* Set connect timeout. */ @@ -39,10 +39,10 @@ class TumblrOAuth { /** * Set API URLS */ - function accessTokenURL() { return 'http://www.tumblr.com/oauth/access_token'; } - function authenticateURL() { return 'http://www.tumblr.com/oauth/authorize'; } - function authorizeURL() { return 'http://www.tumblr.com/oauth/authorize'; } - function requestTokenURL() { return 'http://www.tumblr.com/oauth/request_token'; } + function accessTokenURL() { return 'https://www.tumblr.com/oauth/access_token'; } + function authenticateURL() { return 'https://www.tumblr.com/oauth/authorize'; } + function authorizeURL() { return 'https://www.tumblr.com/oauth/authorize'; } + function requestTokenURL() { return 'https://www.tumblr.com/oauth/request_token'; } /** * Debug helpers