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}' "; }