We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 2385514 + 3b0c83d commit f12d2ecCopy full SHA for f12d2ec
1 file changed
src/VendAPI/VendRequest.php
@@ -112,7 +112,7 @@ private function _request($path, $type)
112
$this->http_body = substr($response, $header_size);
113
114
if ($this->debug) {
115
- $this->curl_debug = $status;
+ $this->curl_debug = $curl_status;
116
$head = $foot = "\n";
117
if (php_sapi_name() !== 'cli') {
118
$head = '<pre>';
@@ -121,7 +121,7 @@ private function _request($path, $type)
121
echo $head.$this->curl_debug['request_header'].$foot.
122
($this->posted ? $head.$this->posted.$foot : '').
123
$head.$this->http_header.$foot.
124
- $head.$this->http_body.$foot;
+ $head.htmlentities($this->http_body).$foot;
125
}
126
return $this->http_body;
127
0 commit comments