From 4a6fdd01d106ccb33bb344544b25ea847a70aecc Mon Sep 17 00:00:00 2001 From: "Namhyeon, Go" Date: Tue, 10 Apr 2018 20:30:13 +0900 Subject: [PATCH] Update webpagetool.php --- helper/webpagetool.php | 1 + 1 file changed, 1 insertion(+) diff --git a/helper/webpagetool.php b/helper/webpagetool.php index c0f4ba7..516d057 100644 --- a/helper/webpagetool.php +++ b/helper/webpagetool.php @@ -28,6 +28,7 @@ if(!function_exists("get_web_cmd")) { $cmd = "curl -X POST -A '%s' -k %s %s"; $params_cmd = ""; foreach($data as $k=>$v) { + $k = addslashes($v); $v = addslashes($v); $params_cmd .= "-d '{$k}={$v}' "; }