Skip to content

Commit 11953da

Browse files
committed
ACP2E-2969: REST API unable to make requests with slash (/) in SKU when using Oauth1
1 parent 144c2e2 commit 11953da

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

lib/internal/Magento/Framework/Oauth/Helper/Utility.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,9 @@ public function sign(
4343
$url = null
4444
): string {
4545
unset($params['oauth_signature']);
46+
if (strtoupper($method) === 'GET') {
47+
return parent::sign($params, $params['oauth_signature_method'], $consumerSecret, $tokenSecret, $method, $url);
48+
}
4649

4750
$binaryHash = HMACEncryption::compute(
4851
$this->assembleKey($consumerSecret, $tokenSecret),

0 commit comments

Comments
 (0)