Skip to content

Commit 459ebb5

Browse files
committed
ACP2E-2969: REST API unable to make requests with slash (/) in SKU when using Oauth1
1 parent a18495e commit 459ebb5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ public function sign(
5454
*/
5555
private function isHmac256(string $signatureMethod): bool
5656
{
57-
if (strtoupper(preg_replace( '/[\W]/', '', $signatureMethod)) === 'HMACSHA256') {
57+
if (strtoupper(preg_replace('/[\W]/', '', $signatureMethod)) === 'HMACSHA256') {
5858
return true;
5959
}
6060

0 commit comments

Comments
 (0)