The PEAR PHP installer fails to discover channels and install packages
hosted on google code since several weeks now.

The issue itself is documented in http://pear.php.net/bugs/bug.php?id=17234
and is as follows:
- The PEAR installer sends a HTTP request to google code, i.e. for
http://pear-smarty.googlecode.com/svn/channel.xml
- The HTTP request contains a "Host:" header
- The Host header is "Host: pear-smarty.googlecode.com:80"

The port number is the problem here. Without the port number, it works
fine. With it, we all get a 404 error.

The HTTP RFC http://www.faqs.org/rfcs/rfc2616.html actually allows
adding the port:
> 14.23 Host
> Host = "Host" ":" host [ ":" port ] ; Section 3.2.2

So for me, google code is broken.

We could of course roll a new release of the PEAR installer, but I'd
rather see the google servers obey the standards.


Regards,
Christian Weiske

-- 
You received this message because you are subscribed to the Google Groups 
"Project Hosting on Google Code" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-code-hosting?hl=en.

Reply via email to