Skip to content

Commit a2d956b

Browse files
authored
Merge pull request #895 from annando/tumblr-https
tumblr: Now using https instead of http for the endpoints
2 parents bc65318 + 232a790 commit a2d956b

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

tumblr/library/tumblroauth.php

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ class TumblrOAuth {
1515
/* Contains the last API call. */
1616
public $url;
1717
/* Set up the API root URL. */
18-
public $host = "http://api.tumblr.com/v2/";
18+
public $host = "https://api.tumblr.com/v2/";
1919
/* Set timeout default. */
2020
public $timeout = 30;
2121
/* Set connect timeout. */
@@ -39,10 +39,10 @@ class TumblrOAuth {
3939
/**
4040
* Set API URLS
4141
*/
42-
function accessTokenURL() { return 'http://www.tumblr.com/oauth/access_token'; }
43-
function authenticateURL() { return 'http://www.tumblr.com/oauth/authorize'; }
44-
function authorizeURL() { return 'http://www.tumblr.com/oauth/authorize'; }
45-
function requestTokenURL() { return 'http://www.tumblr.com/oauth/request_token'; }
42+
function accessTokenURL() { return 'https://www.tumblr.com/oauth/access_token'; }
43+
function authenticateURL() { return 'https://www.tumblr.com/oauth/authorize'; }
44+
function authorizeURL() { return 'https://www.tumblr.com/oauth/authorize'; }
45+
function requestTokenURL() { return 'https://www.tumblr.com/oauth/request_token'; }
4646

4747
/**
4848
* Debug helpers

0 commit comments

Comments
 (0)