Browse Source

OAuth url-encoded response processing fixed.

tags/2.0.0-beta
Paul Klimov 11 years ago
parent
commit
2e66467cad
  1. 2
      extensions/yii/authclient/BaseOAuth.php

2
extensions/yii/authclient/BaseOAuth.php

@ -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: {

Loading…
Cancel
Save