cvs: pear-core / package-PEAR.xml package2.xml /PEAR REST.php

[email protected] ("Greg Beaver")
Newsgroups php.pear.cvs,php.pear.core
Message-ID <cvscellog1210701816@cvsserver>
cellog		Tue May 13 18:03:36 2008 UTC

  Modified files:              
    /pear-core	package-PEAR.xml package2.xml 
    /pear-core/PEAR	REST.php 
  Log:
    * Fix Bug #13559 installing package fails via proxy to virtual-hosted server. [hirose]
  
  
http://cvs.php.net/viewvc.cgi/pear-core/package-PEAR.xml?r1=1.529&r2=1.530&diff_format=u
Index: pear-core/package-PEAR.xml
diff -u pear-core/package-PEAR.xml:1.529 pear-core/package-PEAR.xml:1.530
--- pear-core/package-PEAR.xml:1.529	Tue May 13 05:29:24 2008
+++ pear-core/package-PEAR.xml	Tue May 13 18:03:36 2008
@@ -104,6 +104,7 @@
   * Fix Bug #13485 pear package-validate brings up ASCII issues [dufuz]
   * Fix Bug #13508 undefined index errors when installing a remote bundle [cellog/tswicegood]
   * Fix Bug #13525 pear package-validate is not showing warnings even if there are [dufuz]
+  * Fix Bug #13559 installing package fails via proxy to virtual-hosted server. [hirose]
   * Fix Bug #13883 file permissions not preserved on packaging [cellog]
  </notes>
   <provides type="class" name="OS_Guess"/>
http://cvs.php.net/viewvc.cgi/pear-core/package2.xml?r1=1.429&r2=1.430&diff_format=u
Index: pear-core/package2.xml
diff -u pear-core/package2.xml:1.429 pear-core/package2.xml:1.430
--- pear-core/package2.xml:1.429	Tue May 13 05:29:24 2008
+++ pear-core/package2.xml	Tue May 13 18:03:36 2008
@@ -109,6 +109,7 @@
   * Fix Bug #13485 pear package-validate brings up ASCII issues [dufuz]
   * Fix Bug #13508 undefined index errors when installing a remote bundle [cellog/tswicegood]
   * Fix Bug #13525 pear package-validate is not showing warnings even if there are [dufuz]
+  * Fix Bug #13559 installing package fails via proxy to virtual-hosted server. [hirose]
   * Fix Bug #13883 file permissions not preserved on packaging [cellog]
  </notes>
  <contents>
http://cvs.php.net/viewvc.cgi/pear-core/PEAR/REST.php?r1=1.30&r2=1.31&diff_format=u
Index: pear-core/PEAR/REST.php
diff -u pear-core/PEAR/REST.php:1.30 pear-core/PEAR/REST.php:1.31
--- pear-core/PEAR/REST.php:1.30	Fri Apr 11 01:16:40 2008
+++ pear-core/PEAR/REST.php	Tue May 13 18:03:36 2008
@@ -15,7 +15,7 @@
  * @author     Greg Beaver <[email protected]>
  * @copyright  1997-2008 The PHP Group
  * @license    http://www.php.net/license/3_0.txt  PHP License 3.0
- * @version    CVS: $Id: REST.php,v 1.30 2008/04/11 01:16:40 dufuz Exp $
+ * @version    CVS: $Id: REST.php,v 1.31 2008/05/13 18:03:36 cellog Exp $
  * @link       http://pear.php.net/package/PEAR
  * @since      File available since Release 1.4.0a1
  */
@@ -305,11 +305,10 @@
         }
         If (isset($proxy['host'])) {
             $request = "GET $url HTTP/1.1\r\n";
-            $request .= 'Host: ' . $proxy['host'] . ":$port\r\n";
         } else {
             $request = "GET $path HTTP/1.1\r\n";
-            $request .= "Host: $host:$port\r\n";
         }
+        $request .= "Host: $host:$port\r\n";
 
         $ifmodifiedsince = '';
         if (is_array($lastmodified)) {
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.