php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #63259 Redirect problem
Submitted: 2012-10-11 07:04 UTC Modified: 2012-10-18 15:24 UTC
From: contact at vpslist dot net Assigned: danbrown (profile)
Status: Closed Package: Website problem
PHP Version: Irrelevant OS: N/A
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: contact at vpslist dot net
New email:
PHP Version: OS:

 

 [2012-10-11 07:04 UTC] 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


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2012-10-11 07:09 UTC] bjori@php.net
-Status: Open +Status: Verified
 [2012-10-11 07:09 UTC] 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 10:19 UTC] simon at simon dot geek dot nz
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
 [2012-10-12 16:07 UTC] danbrown@php.net
-Assigned To: +Assigned To: danbrown
 [2012-10-12 16:07 UTC] danbrown@php.net
Yeah, I'm seeing that same behavior now.  The day I made the changes, I was not, 
even after testing numerous mirrors with as much randomness as humanly possible.  
I may need to revert some of the commits and devise another method for displaying 
the appropriate sponsorship information in the footer.
 [2012-10-18 15:24 UTC] danbrown@php.net
The redirection issue was repaired several days ago, and no similar problems have 
been reported since.  As such, this incident is considered resolved.

Thank you very much for your report.
 [2012-10-18 15:24 UTC] danbrown@php.net
-Status: Verified +Status: Closed
 
PHP Copyright © 2001-2022 The PHP Group
All rights reserved.
Last updated: Thu May 26 05:05:45 2022 UTC