You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Function getNormalizedParams() in OAuthRequest.php not support Array of Array
variable.
if i have variable like bellow
$body = array(
"content" => "test content",
"is_sanitize" => true,
"sanitize_replacement" => "***",
"meta" => array(
"name" => "another",
"email" => "[email protected]"
)
);
when using getNormalizedParams() will return
content=test
content&is_sanitize=1&meta=another&[email protected]&sanitize_replacement=*
**
i lose my key(name and email), but when i use http_build_query, it return
content=content+test&is_sanitize=1&sanitize_replacement=%2A%2A%2A&meta%5Bname%5D
=another&meta%5Bemail%5D=another%40email.com
what i want to mention is when i have Array of Array and using this library, i
will lose any Array inside variable when generating a base query to make a
signature, and this will cause a possible collation.
From the spec http://tools.ietf.org/html/rfc3986 say that all variable must be
added to make a signature.
actually i'm newbie, so may be i already understand wrong with this issue.
Thanks
Original issue reported on code.google.com by [email protected] on 17 Dec 2012 at 4:24
The text was updated successfully, but these errors were encountered:
Original issue reported on code.google.com by
[email protected]
on 17 Dec 2012 at 4:24The text was updated successfully, but these errors were encountered: