Edit report at https://bugs.php.net/bug.php?id=67931&edit=1

 ID:                 67931
 Updated by:         [email protected]
 Reported by:        php at bof dot de
 Summary:            links to variadics on php.net does not redirect to
                     mirror
 Status:             Open
 Type:               Bug
 Package:            Website problem
 PHP Version:        Irrelevant
 Block user comment: N
 Private report:     N

 New Comment:

I had a hard time reproducing the problem, as I was getting properly redirected 
to a mirror where the docs are working properly, but it seems that the https 
url can be used to reproduce the issue consistently:
https://www.php.net/functions.arguments.php


Previous Comments:
------------------------------------------------------------------------
[2014-08-29 10:23:28] php at bof dot de

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 this 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

Reply via email to