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
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: mjs at beebo dot org
New email:
PHP Version: OS:

 

 [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

Pull Requests

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-2026 The PHP Group
All rights reserved.
Last updated: Thu Jun 18 02:00:01 2026 UTC