Use correct variable in the deprecated and abandoned Snoopy HTTP client. see #24210.
See also: * http://sourceforge.net/p/snoopy/bugs/60/ * http://sourceforge.net/p/snoopy/bugs/62/ * http://sourceforge.net/p/snoopy/bugs/73/ * http://sourceforge.net/p/snoopy/bugs/77/ * and probably more. This project is abandoned. If any plugins are using this (instead of the WordPress HTTP API), this at least ensures that temp files are cleaned up. git-svn-id: https://develop.svn.wordpress.org/trunk@24591 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
cffe32a58a
commit
74e84dae23
@ -1010,7 +1010,7 @@ class Snoopy
|
||||
if($this->read_timeout > 0)
|
||||
$cmdline_params .= " -m ".$this->read_timeout;
|
||||
|
||||
$headerfile = tempnam($temp_dir, "sno");
|
||||
$headerfile = tempnam($this->temp_dir, "sno");
|
||||
|
||||
exec($this->curl_path." -k -D \"$headerfile\"".$cmdline_params." \"".escapeshellcmd($URI)."\"",$results,$return);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user