We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7bd6bf9 commit 47efec8Copy full SHA for 47efec8
dev/tests/api-functional/framework/Magento/TestFramework/Authentication/Rest/OauthClient/Signature.php
@@ -42,12 +42,13 @@ function ($carry, $item) {
42
[]
43
);
44
45
- foreach ($params as $key => $value) {
46
- $queryStringData[rawurlencode($key)] = rawurlencode($value);
+ $signatureData = [];
+ foreach (array_merge($queryStringData, $params) as $key => $value) {
47
+ $signatureData[rawurldecode($key)] = rawurlencode($value);
48
}
49
50
return $this->helper->sign(
- $queryStringData,
51
+ $signatureData,
52
'SHA256',
53
$this->credentials->getConsumerSecret(),
54
$this->tokenSecret,
0 commit comments