From 9a460457f93c5dcc6fce3fe32f21b925a3c2d13b Mon Sep 17 00:00:00 2001 From: Evert Harmeling Date: Tue, 17 Oct 2017 14:19:48 +0200 Subject: [PATCH] Added 'urldecode' to the value in Sha1Composer (following the documentation) --- src/LinkORB/Buckaroo/SignatureComposer/Sha1Composer.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/LinkORB/Buckaroo/SignatureComposer/Sha1Composer.php b/src/LinkORB/Buckaroo/SignatureComposer/Sha1Composer.php index 320316c..d49aa58 100644 --- a/src/LinkORB/Buckaroo/SignatureComposer/Sha1Composer.php +++ b/src/LinkORB/Buckaroo/SignatureComposer/Sha1Composer.php @@ -38,7 +38,7 @@ protected function sign(array $parameters) $signatureString = ''; foreach ($parameters as $key => $value) { - $signatureString .= $key . '=' . $value; + $signatureString .= $key . '=' . urldecode($value); } $signatureString .= $this->secret;