Account Options

  1. Sign in
The old Google Groups will be going away soon.
Switch to the new Google Groups.
Google Groups Home
« Groups Home
Message from discussion downloading files broken when HTTP header "Host: hostname:80" is used
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
cweiske@cweiske.de  
View profile  
 More options Mar 23 2010, 11:07 am
From: "cwei...@cweiske.de" <cwei...@cweiske.de>
Date: Tue, 23 Mar 2010 08:07:57 -0700 (PDT)
Local: Tues, Mar 23 2010 11:07 am
Subject: downloading files broken when HTTP header "Host: hostname:80" is used
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 must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.