@@ -33,9 +33,9 @@ |
||
| 33 | 33 | public function to_string() : string |
| 34 | 34 | { |
| 35 | 35 | return 'oauth_token='. |
| 36 | - OAuthUtil::urlencode_rfc3986($this->key). |
|
| 37 | - '&oauth_token_secret='. |
|
| 38 | - OAuthUtil::urlencode_rfc3986($this->secret); |
|
| 36 | + OAuthUtil::urlencode_rfc3986($this->key). |
|
| 37 | + '&oauth_token_secret='. |
|
| 38 | + OAuthUtil::urlencode_rfc3986($this->secret); |
|
| 39 | 39 | } |
| 40 | 40 | |
| 41 | 41 | /** |
@@ -29,10 +29,10 @@ |
||
| 29 | 29 | ? 'http' |
| 30 | 30 | : 'https'; |
| 31 | 31 | @$http_url or $http_url = $scheme. |
| 32 | - '://'.$_SERVER['HTTP_HOST']. |
|
| 33 | - ':'. |
|
| 34 | - $_SERVER['SERVER_PORT']. |
|
| 35 | - $_SERVER['REQUEST_URI']; |
|
| 32 | + '://'.$_SERVER['HTTP_HOST']. |
|
| 33 | + ':'. |
|
| 34 | + $_SERVER['SERVER_PORT']. |
|
| 35 | + $_SERVER['REQUEST_URI']; |
|
| 36 | 36 | @$http_method or $http_method = $_SERVER['REQUEST_METHOD']; |
| 37 | 37 | |
| 38 | 38 | // We weren't handed any parameters, so let's find the ones relevant to |