php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #21238 URL shortcut fallback not correct
Submitted: 2002-12-28 06:41 UTC Modified: 2003-04-23 12:02 UTC
From: goba@php.net Assigned: goba (profile)
Status: Closed Package: Website problem
PHP Version: 4.3.0 OS: n/a
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: goba@php.net
New email:
PHP Version: OS:

 

 [2002-12-28 06:41 UTC] goba@php.net
The URL shortcut fallback needs to be enhanced. If for example a site has the default language code "zh", and the "/manual/zh" dir exists, then the shortcut code tries to find the requested page under "/manual/zh". But if it is unable to find anything (eg. build failure, and no previous file in /manual/zh), it falls back to the site search, and not the English version.

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2002-12-28 06:41 UTC] goba@php.net
Assign to myself
 [2003-04-23 12:02 UTC] goba@php.net
The language chooser code now uses the index file to detect a language, so it only works if the language is built (it never happened before that a language had a manual index, but no manual ;).
 
PHP Copyright © 2001-2026 The PHP Group
All rights reserved.
Last updated: Wed Jun 17 21:00:02 2026 UTC