mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-28 16:24:54 +02:00
2013-03-13 Kikuchi Koichiro <koichiro@rworks.jp>
* extensions/update_manager/lib/xmlrpc/xmlrpc.inc: Keep original connection params when xmlrpc_client->sendPayloadHTTP10() follows 30x redirect. Merged from: branch_4.0 git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7842 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
parent
7cacb2a64b
commit
3ee7e319e8
@ -1,3 +1,11 @@
|
|||||||
|
2013-03-13 Kikuchi Koichiro <koichiro@rworks.jp>
|
||||||
|
|
||||||
|
* extensions/update_manager/lib/xmlrpc/xmlrpc.inc: Keep original
|
||||||
|
connection params when xmlrpc_client->sendPayloadHTTP10() follows
|
||||||
|
30x redirect.
|
||||||
|
|
||||||
|
Merged from: branch_4.0
|
||||||
|
|
||||||
2013-03-12 Miguel de Dios <miguel.dedios@artica.es>
|
2013-03-12 Miguel de Dios <miguel.dedios@artica.es>
|
||||||
|
|
||||||
* godmode/modules/manage_network_components_form.php,
|
* godmode/modules/manage_network_components_form.php,
|
||||||
|
@ -1457,8 +1457,24 @@
|
|||||||
{
|
{
|
||||||
$this->redirs++;
|
$this->redirs++;
|
||||||
}
|
}
|
||||||
|
// backup original params
|
||||||
|
$method = $this->method;
|
||||||
|
$server = $this->server;
|
||||||
|
$port = $this->port;
|
||||||
|
$path = $this->path;
|
||||||
|
$username = $this->username;
|
||||||
|
$password = $this->password;
|
||||||
|
|
||||||
$this->setup_by_path($m[1]);
|
$this->setup_by_path($m[1]);
|
||||||
$r =& $this->send($msg, $timeout);
|
$r =& $this->send($msg, $timeout);
|
||||||
|
|
||||||
|
// restore original params
|
||||||
|
$this->method = $method;
|
||||||
|
$this->server = $server;
|
||||||
|
$this->path = $path;
|
||||||
|
$this->port = $port;
|
||||||
|
$this->username = $username;
|
||||||
|
$this->password = $password;
|
||||||
} else {
|
} else {
|
||||||
$r =& $msg->parseResponse($ipd, false, $this->return_type);
|
$r =& $msg->parseResponse($ipd, false, $this->return_type);
|
||||||
$this->redirs = 0;
|
$this->redirs = 0;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user