fix: urldecode
This commit is contained in:
parent
eb062d5412
commit
5ae4668a95
@ -5,7 +5,7 @@ $BOT = new Base;
|
|||||||
if (file_get_contents("php://input")) {
|
if (file_get_contents("php://input")) {
|
||||||
$text = file_get_contents("php://input");
|
$text = file_get_contents("php://input");
|
||||||
}elseif (!empty($_SERVER['QUERY_STRING'])){
|
}elseif (!empty($_SERVER['QUERY_STRING'])){
|
||||||
$text = $_SERVER['QUERY_STRING'];
|
$text = urldecode($_SERVER['QUERY_STRING']);
|
||||||
}else{
|
}else{
|
||||||
exit;
|
exit;
|
||||||
}
|
}
|
Loading…
Reference in New Issue
Block a user