#20139 [Opn->Bgs]: Download links redirector is broken

From: Date: Mon, 28 Oct 2002 19:26:59 +0000
Subject: #20139 [Opn->Bgs]: Download links redirector is broken
References: 1  Groups: php.mirrors 
Request: Send a blank email to php-mirrors+get-13279@lists.php.net to get a copy of this message
ID: 20139 Updated by: goba@php.net Reported By: notreal@nowhere.com -Status: Open +Status: Bogus Bug Type: Website problem PHP Version: 4.2.3 New Comment: Our URLs include http:// everywhere. There are no single /-s after the HTTP in our URLs. Please read http://php.net/downloads.php Previous Comments: ------------------------------------------------------------------------ [2002-10-28 13:20:17] notreal@nowhere.com The download links on the mirrors page have a bug in the rediretector. IE works around it by fixing the invalid link, but wget fails: [root /root]# wget http://www.php.net/do_download.php?mr=http%3A%2F%2Fus2.php.net%2F\&df=php-4.2.3.tar.gz --20:05:49-- http://www.php.net:80/do_download.php?mr=http%3A/us2.php.net/&df=php-4.2.3.tar.gz => `&df=php-4.2.3.tar.gz' Connecting to www.php.net:80... connected! HTTP request sent, awaiting response... 302 Moved Temporarily Location: http:/us2.php.net/distributions/php-4.2.3.tar.gz [following] ... Note that your redirector only put a single '/' after the http: protocol specifier, not two. So wget tries to ftp to the host "http" and fails, of course. This should be a simple fix. Also, it would be nice (for wget and other command-line downloaders on Unix) of the URL didn't have a '&' in it that you had to escape before downloading. Just a thought. Thanks p.s. Your bug submitter is too smart. I would have given a real email address, just obfuscated a bit to make it human readable, but not computer readable. But it wouldn't let me. Sorry. Maybe you should change the bug listing service to not print email addresses. ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=20139&edit=1

« previous php.mirrors (#13279) next »