Merge pull request #371 from michaelhogg/fix-bug-base64-regex

Fix bug: regex doesn't match all Base64 characters
This commit is contained in:
Alex Bilbie 2015-09-01 14:30:38 +01:00
commit ccc845b195

View File

@ -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) {