PEAR is discontinued

This is a static archive preserving historical releases and metadata. No new packages or updates will be published. For updates to existing packages, or to publish new packages, please use Composer and Packagist.

Home » Web Services » XML_RPC » Bug #3703

http proxy requests are not correct

Details

Submitted2005-03-04 14:02 UTC
Frombugs at niluje dot net
StatusDuplicate
PackageXML_RPC
PHP Version5.0.3
OSlinux debian
Roadmaps(Not assigned)

Comments

[2005-03-04 14:02 UTC] bugs at niluje dot net

Description:
------------
when using an http proxy, pear does not send correct requests:

POST host/.... instead of POST http://host/....

patch below :

*** RPC.php.orig 2005-03-04 14:29:15.663913607 +0100
--- RPC.php 2005-03-04 14:34:25.139349001 +0100
***************
*** 818,824 ****
}

if ($this->proxy) {
! $op = 'POST ' . $server;
if ($this->proxy_port) {
$op .= ':' . $this->port;
}
--- 818,824 ----
}

if ($this->proxy) {
! $op = 'POST ' . $this->protocol . $server;
if ($this->proxy_port) {
$op .= ':' . $this->port;
}

[2005-03-04 14:09 UTC] bugs at niluje dot net

Installed packages:
===================
Package Version State
Archive_Tar 1.2 stable
Auth 1.2.3 stable
Auth_HTTP 2.1.4 stable
Benchmark 1.2.2 stable
Cache_Lite 1.4.1 stable
Console_Getopt 1.2 stable
DB 1.7.2 stable
DB_DataObject 1.7.5 stable
DB_Table 1.0.0RC1 beta
DB_ldap 1.1.0 stable
Date 1.4.3 stable
HTML_Common 1.2.1 stable
HTML_QuickForm 3.2.4pl1 stable
HTML_Table 1.5 stable
Mail 1.1.4 stable
Mail_Mime 1.2.1 stable
Net_SMTP 1.2.6 stable
Net_Socket 1.0.6 stable
PEAR 1.3.5 stable
Var_Dump 1.0.2 stable
XML_RPC 1.2.1 stable
xdebug 1.3.2 stable