Skip to content

Commit

Permalink
fix bug for w7corp#515
Browse files Browse the repository at this point in the history
  • Loading branch information
springjk committed Oct 19, 2016
1 parent d8e7f17 commit e696051
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Core/Http.php
Original file line number Diff line number Diff line change
Expand Up @@ -277,7 +277,7 @@ public function parseJSON($body)
*/
protected function fuckTheWeChatInvalidJSON($invalidJSON)
{
return preg_replace('/[\x00-\x1F\x7F-\x9F]/u', '', trim($invalidJSON));
return preg_replace('/[\x00-\x1F\x80-\x9F]/u', '', trim($invalidJSON));
}

/**
Expand Down

0 comments on commit e696051

Please sign in to comment.