Bug #63259 [Com]: Redirect problem
| From: | simon at simon dot geek dot nz | Date: | Thu, 11 Oct 2012 10:19:36 +0000 |
| Subject: | Bug #63259 [Com]: Redirect problem | ||
| References: | 1 | Groups: | php.webmaster |
| Request: | Send a blank email to php-webmaster+get-14837@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=63259&edit=1
ID: 63259
Comment by: simon at simon dot geek dot nz
Reported by: contact at vpslist dot net
Summary: Redirect problem
Status: Verified
Type: Bug
Package: Website problem
Operating System: N/A
PHP Version: Irrelevant
Block user comment: N
Private report: N
New Comment:
I have noticed a similar problem with redirects from the main php.net to a mirror.
This happens when a
user has set their preference to a cc.php.net mirror, or hasn't picked a
preference.
For example, say a user has set nz.php.net as their preferred mirror:
$ curl -Ib "MYPHPNET=%2Cquickref%2Chttp%3A%2F%2Fnz.php.net%2F%2C0%2C" php.net/_GET
| grep Location
Location: 103.6.212.224_GET
compared to one set to nz1.php.net:
curl -Ib "MYPHPNET=%2Cquickref%2Chttp%3A%2F%2Fnz1.php.net%2F%2C0%2C" php.net/_GET
| grep Location
Location: http://nz1.php.net/_GET
and one not set:
$ curl -I php.net/_GET | grep Location
Location: 103.6.212.224_GET
Previous Comments:
------------------------------------------------------------------------
[2012-10-11 07:09:54] bjori@php.net
Here is an direct link: http://us.php.net/distributions/php-5.3.16.tar.gz
This should be fixed once the mirrors update within the hour hopefully :)
------------------------------------------------------------------------
[2012-10-11 07:04:26] contact at vpslist dot net
Description:
------------
http://us.php.net/get/php-5.3.16.tar.gz/from/this/mirror
Redirects like crazy and wget fails plus this breaks a lot of scripts which
require this URL
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=63259&edit=1