From: php at bof dot de Operating system: PHP version: Irrelevant Package: Website problem Bug Type: Bug Bug description:links to variadics on php.net does not redirect to mirror
Description: ------------ For me, following the link to the variadic function doc on the frontpage, when visiting http://php.net, misdirects to the manual lookup page on php.net, instead of redirecting to the right page on a mirror. Ferenc asked me to report this here. The issue depends on my IP; I'm using German T-Online with IP 91.53.9.6 at the moment, when it does not work. See expected/actual results, "expected" from a different IP address somewhere else in Germany, "actual" from my home IP. (NOTE: I manually added spaces between "http" and "://php.net..." below, because otherwise the bug tracker tells me "SPAM detected". Sigh. Test script: --------------- wget http ://php.net/functions.arguments.php Expected result: ---------------- patrick@bof1:~> wget http ://php.net/functions.arguments.php asking libproxy about url 'http://php.net/functions.arguments.php' libproxy suggest to use 'direct://' --2014-08-29 12:19:53-- http://php.net/functions.arguments.php Resolving php.net... 72.52.91.14, 2001:470:1:380::3 Connecting to php.net|72.52.91.14|:80... connected. HTTP request sent, awaiting response... 302 Found Location: http ://de2.php.net/functions.arguments.php [following] asking libproxy about url 'http ://de2.php.net/functions.arguments.php' libproxy suggest to use 'direct://' --2014-08-29 12:19:53-- http ://de2.php.net/functions.arguments.php Resolving de2.php.net... 82.100.240.32 Connecting to de2.php.net|82.100.240.32|:80... connected. HTTP request sent, awaiting response... 200 OK Length: unspecified [text/html] Saving to: âfunctions.arguments.phpâ [ <=> ] 108,840 530K/s in 0.2s 2014-08-29 12:19:54 (530 KB/s) - âfunctions.arguments.phpâ saved [108840] Actual result: -------------- patrick@rofl:~> wget http ://php.net/functions.arguments.php --2014-08-29 12:19:08-- http ://php.net/functions.arguments.php Resolving php.net (php.net)... 72.52.91.14, 2001:470:1:380::3 Connecting to php.net (php.net)|72.52.91.14|:80... connected. HTTP request sent, awaiting response... 302 Found Location: http ://php.net/search.php?show=404quickref&lang=en&pattern=functions.arguments.php [following] --2014-08-29 12:19:09-- http ://php.net/search.php?show=404quickref&lang=en&pattern=functions.arguments.php Reusing existing connection to php.net:80. HTTP request sent, awaiting response... 302 Found Location: http ://php.net/manual-lookup.php?pattern=functions.arguments.php&lang=en&scope=404quickref [following] --2014-08-29 12:19:09-- http ://php.net/manual-lookup.php?pattern=functions.arguments.php&lang=en&scope=404quickref Reusing existing connection to php.net:80. HTTP request sent, awaiting response... 200 OK Length: unspecified [text/html] Saving to: âfunctions.arguments.phpâ [ <=> ] 13,825 65.2KB/s in 0.2s 2014-08-29 12:19:09 (65.2 KB/s) - âfunctions.arguments.phpâ saved [13825] -- Edit bug report at https://bugs.php.net/bug.php?id=67931&edit=1 -- -- PHP Webmaster List Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
