1
0
mirror of https://gitee.com/koogua/course-tencent-cloud.git synced 2025-06-29 13:51:37 +08:00

!27 开放登录线上测试3

* 初步完成开放登录,待线上测试3
* 初步完成开放登录,待线上测试2
This commit is contained in:
koogua 2020-12-05 21:02:37 +08:00
parent ea7d4d648d
commit 6b42b3252c

View File

@ -56,6 +56,13 @@ abstract class OAuth
public function checkState($state)
{
/**
* 注意事项:
* callback中的state参数并未做encode处理参数中含有"+"
* 获取参数的时候却自动做了decode处理"+"变成了空格
*/
$state = str_replace(' ', '+', $state);
/**
* @var $crypt Crypt
*/