@@ -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);