mirror of
https://gitee.com/koogua/course-tencent-cloud.git
synced 2025-06-29 22:01:38 +08:00
parent
ea7d4d648d
commit
6b42b3252c
@ -56,6 +56,13 @@ abstract class OAuth
|
||||
|
||||
public function checkState($state)
|
||||
{
|
||||
/**
|
||||
* 注意事项:
|
||||
* callback中的state参数并未做encode处理,参数中含有"+"
|
||||
* 获取参数的时候却自动做了decode处理,"+"变成了空格
|
||||
*/
|
||||
$state = str_replace(' ', '+', $state);
|
||||
|
||||
/**
|
||||
* @var $crypt Crypt
|
||||
*/
|
||||
|
Loading…
x
Reference in New Issue
Block a user