mirror of
https://github.com/yiisoft/yii2.git
synced 2025-11-13 20:59:12 +08:00
OAuth url-encoded response processing fixed.
This commit is contained in:
@@ -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: {
|
||||||
|
|||||||
Reference in New Issue
Block a user