Commit 2e66467c by Paul Klimov

OAuth url-encoded response processing fixed.

parent 24d4f4b9
...@@ -263,7 +263,7 @@ abstract class BaseOAuth extends Component implements ClientInterface ...@@ -263,7 +263,7 @@ abstract class BaseOAuth extends Component implements ClientInterface
} }
case self::CONTENT_TYPE_URLENCODED: { case self::CONTENT_TYPE_URLENCODED: {
$response = []; $response = [];
parse_url($rawResponse, $response); parse_str($rawResponse, $response);
break; break;
} }
case self::CONTENT_TYPE_XML: { case self::CONTENT_TYPE_XML: {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment