From 5ae4668a95387a88e4bee689690305ef6ea882a7 Mon Sep 17 00:00:00 2001 From: dennydai Date: Thu, 14 Apr 2016 17:08:33 +0800 Subject: [PATCH] fix: urldecode --- classes/Web/init.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/classes/Web/init.php b/classes/Web/init.php index 65d286b..d911fa8 100644 --- a/classes/Web/init.php +++ b/classes/Web/init.php @@ -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; } \ No newline at end of file