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
8f157b7a67
commit
e6726ddda3
|
@ -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>
|
||||
|
||||
* godmode/modules/manage_network_components_form.php,
|
||||
|
|
|
@ -1457,8 +1457,24 @@
|
|||
{
|
||||
$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]);
|
||||
$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 {
|
||||
$r =& $msg->parseResponse($ipd, false, $this->return_type);
|
||||
$this->redirs = 0;
|
||||
|
|
Loading…
Reference in New Issue