Merge pull request #372 from michaelhogg/fix-bug-request-uri

Fix bug: incorrect signature parameter
This commit is contained in:
Alex Bilbie 2015-09-01 14:29:41 +01:00
commit 21cd917892
2 changed files with 2 additions and 2 deletions

View File

@ -105,7 +105,7 @@ class MAC extends AbstractTokenType implements TokenTypeInterface
$timestamp,
$nonce,
strtoupper($request->getMethod()),
$request->getUri(),
$request->getRequestUri(),
$request->getHost(),
$request->getPort(),
];

View File

@ -52,7 +52,7 @@ class MacTest extends \PHPUnit_Framework_TestCase
$ts,
'foo',
strtoupper($request->getMethod()),
$request->getUri(),
$request->getRequestUri(),
$request->getHost(),
$request->getPort(),
'ext'