mirror of
https://github.com/yiisoft/yii2.git
synced 2025-11-13 12:49:04 +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: {
|
||||
$response = [];
|
||||
parse_url($rawResponse, $response);
|
||||
parse_str($rawResponse, $response);
|
||||
break;
|
||||
}
|
||||
case self::CONTENT_TYPE_XML: {
|
||||
|
||||
Reference in New Issue
Block a user