[edit] urlencode
This commit is contained in:
parent
d4f639a170
commit
050d251dde
@ -110,7 +110,11 @@ class BvBeJHandle
|
||||
't' => $timestamp
|
||||
]);
|
||||
ksort($form);
|
||||
$sign = http_build_query($form);
|
||||
$singArr = [];
|
||||
foreach ($form as $k => $v) {
|
||||
$singArr[urlencode($k)] = urlencode($v);
|
||||
}
|
||||
$sign = http_build_query($singArr);
|
||||
try {
|
||||
$signature = $this->AesEncrypt($sign, $key, $vi);
|
||||
if ($signature === false) {
|
||||
|
Loading…
Reference in New Issue
Block a user