fix: urldecode

This commit is contained in:
dennydai 2016-04-14 17:08:33 +08:00
parent eb062d5412
commit 5ae4668a95
1 changed files with 1 additions and 1 deletions

View File

@ -5,7 +5,7 @@ $BOT = new Base;
if (file_get_contents("php://input")) {
$text = file_get_contents("php://input");
}elseif (!empty($_SERVER['QUERY_STRING'])){
$text = $_SERVER['QUERY_STRING'];
$text = urldecode($_SERVER['QUERY_STRING']);
}else{
exit;
}