php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #38575 php.net/foo is redirecting to japanese man pages
Submitted: 2006-08-23 23:11 UTC Modified: 2006-08-24 03:09 UTC
From: mjs at beebo dot org Assigned:
Status: Not a bug Package: Website problem
PHP Version: Irrelevant OS:
Private report: No CVE-ID: None
 [2006-08-23 23:11 UTC] mjs at beebo dot org
Description:
------------
I'm in the UK, and requests of the form:

http://php.net/header

are sometimes redirecting to:

http://uk2.php.net/header

and sometimes redirecting to:

http://uk.php.net/header

both of which appear to be the Japanese language version of the "header" man page.

My Accept-Language header is set to

en-AU,en-GB;q=0.9,en;q=0.9,ja;q=0.8,fr;q=0.8,de;q=0.7,es;q=0.6,it;q=0.6,nl;q=0.5,sv;q=0.5,nb;q=0.4,da;q=0.4,fi;q=0.3,pt;q=0.2,zh-Hans;q=0.2,zh-Hant;q=0.1,ko;q=0.1

Reproduce code:
---------------
From the UK, go to

http://php.net/header

Expected result:
----------------
I'm redirected to an English page e.g.

http://us2.php.net/header

Actual result:
--------------
I'm redirected to a Japanese page.

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2006-08-24 03:09 UTC] rasmus@php.net
The last language you used is sticky.  Go to http://php.net/my.php to set it explicitly so we don't have to guess.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri May 17 10:01:32 2024 UTC