Nikita Zhuk
-
2007-07-17
- priority: 5 --> 3
Version: Snoopy 1.2.3
Function: _httpsrequest(...)
In the following loop the $cmdline_params variable is read before it's defined:
for($curr_header = 0; $curr_header < count($headers); $curr_header++) {
$safer_header = strtr( $headers[$curr_header], "\"", " " );
$cmdline_params .= " -H \"".$safer_header."\"";
}
Simple $cmdline_params = ""; before this loop will fix this.