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
1, When request method is POST
2, All oauth parameters are set in header
3, customized parameters are set in post body
4, content-type is set to something else. (NOT -
application/x-www-form-urlencoded)
since the condition is:
if ($http_method == "POST"
&& isset($request_headers['Content-Type'])
&& strstr($request_headers['Content-Type'],
'application/x-www-form-urlencoded')
)
The requirement does not meet, then customized parameters will not be used when
calculate the signature. So, the result is : invalid signature.
For now, I have to remove customized parameters in base string when calculate
signature.
I think it's a bug, and need be fixed.
Original issue reported on code.google.com by [email protected] on 12 Mar 2014 at 9:20
The text was updated successfully, but these errors were encountered:
Original issue reported on code.google.com by
[email protected]
on 12 Mar 2014 at 9:20The text was updated successfully, but these errors were encountered: