Permalink
Browse files

fix base string urlencoding issue

  • Loading branch information...
bdougherty committed Dec 11, 2009
1 parent 13ed088 commit 958d536d40afa6a1cd6ffb82df2b7940df6d6bec
Showing with 2 additions and 1 deletion.
  1. +1 −0 readme.txt
  2. +1 −1 vimeo.php
View
@@ -2,6 +2,7 @@ Vimeo PHP OAuth Library
Last updated: 11/24/09
Changelog:
+12/11/09 - fixed base string url encoding issue
11/24/09 - removed manifest from single-file upload
- added exception class
- use Authorization header for OAuth params by default
View
@@ -87,7 +87,7 @@ private function _generateSignature($params, $request_method = 'GET', $url = sel
$base_parts = array(
strtoupper($request_method),
$url,
- http_build_query($params)
+ urldecode(http_build_query($params))
);
$base_parts = self::url_encode_rfc3986($base_parts);
$base_string = implode('&', $base_parts);

0 comments on commit 958d536

Please sign in to comment.