From 2e66467cadf1ff8a961db53e4c15d9b8af0ebd65 Mon Sep 17 00:00:00 2001 From: Paul Klimov Date: Mon, 23 Dec 2013 13:31:33 +0200 Subject: [PATCH] OAuth url-encoded response processing fixed. --- extensions/yii/authclient/BaseOAuth.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/extensions/yii/authclient/BaseOAuth.php b/extensions/yii/authclient/BaseOAuth.php index 4c0a025..2a6b6b3 100644 --- a/extensions/yii/authclient/BaseOAuth.php +++ b/extensions/yii/authclient/BaseOAuth.php @@ -263,7 +263,7 @@ abstract class BaseOAuth extends Component implements ClientInterface } case self::CONTENT_TYPE_URLENCODED: { $response = []; - parse_url($rawResponse, $response); + parse_str($rawResponse, $response); break; } case self::CONTENT_TYPE_XML: {