Skip to content

Commit

Permalink
bug: URL encode signatures
Browse files Browse the repository at this point in the history
closes #34
  • Loading branch information
jr conlin committed Mar 29, 2016
1 parent 52401a3 commit 4c8a6e1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions php/OAuthSimple.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
*
* @author jr conlin <src@jrconlin.com>
* @copyright unitedHeroes.net 2011
* @version 1.3
* @version 1.3.1
* @license See license.txt
*
*/
Expand Down Expand Up @@ -474,7 +474,7 @@ private function _normalizedParameters()

}
$presig = join("&", $return_array);
$sig = $this->_generateSignature($presig);
$sig = urlencode($this->_generateSignature($presig));
$this->_parameters['oauth_signature']=$sig;
array_push($return_array, "oauth_signature=$sig");
return join("&", $return_array);
Expand Down

0 comments on commit 4c8a6e1

Please sign in to comment.