Update webpagetool.php

This commit is contained in:
Namhyeon Go 2018-04-10 20:30:13 +09:00 committed by GitHub
parent 88aa378c7c
commit 4a6fdd01d1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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