Update webpagetool.php

This commit is contained in:
Namhyeon Go 2018-11-26 18:00:04 +09:00 committed by GitHub
parent 4a971e232a
commit 583a02d31a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -84,7 +84,7 @@ if(!function_exists("get_web_cmd")) {
// process http headers
if(count($headers) > 0) {
foreach($headers as $k=>$v) {
$cmd_fin .= sprintf("-H '%s: %s' ", make_safe_argument($k), make_safe_argument($v));
$cmd_fin .= sprintf(" -H '%s: %s' ", make_safe_argument($k), make_safe_argument($v));
}
}