mirror of
https://github.com/elyby/oauth2-server.git
synced 2024-11-01 16:33:07 +05:30
Fix bug: regex doesn't match all Base64 characters
This commit is contained in:
parent
2496653968
commit
b220368583
@ -61,7 +61,7 @@ class MAC extends AbstractTokenType implements TokenTypeInterface
|
||||
array_map(function ($param) use (&$params) {
|
||||
$param = trim($param);
|
||||
|
||||
preg_match_all('/([a-zA-Z]*)="([\w=]*)"/', $param, $matches);
|
||||
preg_match_all('/([a-zA-Z]*)="([\w=\/+]*)"/', $param, $matches);
|
||||
|
||||
// @codeCoverageIgnoreStart
|
||||
if (count($matches) !== 3) {
|
||||
|
Loading…
Reference in New Issue
Block a user