Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

added urlencoding of the oauth signature

  • Loading branch information...
commit 2c24894289c74d74e8ce7edd7fc70895d4ca99dd 1 parent a6fa6f5
@michaelcurtis authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  ymclient.php
View
2  ymclient.php
@@ -125,7 +125,7 @@ function oauth_get_request_token($callbackURL) {
'oauth_consumer_key' => $this->oaConsumerKey,
'oauth_callback' => $callbackURL));
- $url = $request->to_url() . "&oauth_signature=" . $this->signature->build_signature($request, new OAuthConsumer('', $this->oaConsumerSecret), NULL);
+ $url = $request->to_url() . "&oauth_signature=" . urlencode($this->signature->build_signature($request, new OAuthConsumer('', $this->oaConsumerSecret), NULL));
$ch = curl_init();
curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
Please sign in to comment.
Something went wrong with that request. Please try again.