From 4492c94b5d1998d0a764bafa77adb342e4adc5c5 Mon Sep 17 00:00:00 2001 From: bvbej Date: Tue, 11 Jan 2022 14:02:35 +0800 Subject: [PATCH] [edit] urlencode --- src/Handles/BvBeJHandle.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Handles/BvBeJHandle.php b/src/Handles/BvBeJHandle.php index 3eb6170..ad08686 100644 --- a/src/Handles/BvBeJHandle.php +++ b/src/Handles/BvBeJHandle.php @@ -110,7 +110,7 @@ class BvBeJHandle 't' => $timestamp ]); ksort($form); - $sign = urldecode(http_build_query($form)); + $sign = urlencode(http_build_query($form)); try { $signature = $this->AesEncrypt($sign, $key, $vi); if ($signature === false) {