mirror of
https://gitee.com/koogua/course-tencent-cloud.git
synced 2025-06-23 03:50:56 +08:00
初步完成开放登录,待线上测试3
This commit is contained in:
parent
b0d467c619
commit
3d115e78e7
@ -56,6 +56,13 @@ abstract class OAuth
|
|||||||
|
|
||||||
public function checkState($state)
|
public function checkState($state)
|
||||||
{
|
{
|
||||||
|
/**
|
||||||
|
* 注意事项:
|
||||||
|
* callback中的state参数并未做encode处理,参数中含有"+"
|
||||||
|
* 获取参数的时候却自动做了decode处理,"+"变成了空格
|
||||||
|
*/
|
||||||
|
$state = str_replace(' ', '+', $state);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @var $crypt Crypt
|
* @var $crypt Crypt
|
||||||
*/
|
*/
|
||||||
|
Loading…
x
Reference in New Issue
Block a user