#20139 [NEW]: Download links redirector is broken

From: Date: Mon, 28 Oct 2002 19:20:17 +0000
Subject: #20139 [NEW]: Download links redirector is broken
Groups: php.mirrors 
Request: Send a blank email to php-mirrors+get-13278@lists.php.net to get a copy of this message
From: notreal@nowhere.com Operating system: PHP version: 4.2.3 PHP Bug Type: Website problem Bug description: Download links redirector is broken 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 bug report at http://bugs.php.net/?id=20139&edit=1 -- Try a CVS snapshot: http://bugs.php.net/fix.php?id=20139&r=trysnapshot Fixed in CVS: http://bugs.php.net/fix.php?id=20139&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=20139&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=20139&r=needtrace Try newer version: http://bugs.php.net/fix.php?id=20139&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=20139&r=support Expected behavior: http://bugs.php.net/fix.php?id=20139&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=20139&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=20139&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=20139&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=20139&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=20139&r=dst IIS Stability: http://bugs.php.net/fix.php?id=20139&r=isapi

« previous php.mirrors (#13278) next »