rabin %!s(int64=3) %!d(string=hai) anos
pai
achega
76a29aff2a
Modificáronse 1 ficheiros con 4 adicións e 0 borrados
  1. 4 0
      lib/Wechat.php

+ 4 - 0
lib/Wechat.php

@@ -500,6 +500,10 @@ class Wechat
 		} else {
 			$url = htmlspecialchars_decode($url);
 		}
+		if (strstr($url, '#')) {
+			$temp = explode('#', $url);
+			$url = $temp[0];
+		}
 		$timestamp = time();
 		$noncestr = $this->nonce();
 		$signature = $this->signature($ticket, $url, $timestamp, $noncestr);