php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #67871 Wrong redirection br1.php.net
Submitted: 2014-08-20 10:36 UTC Modified: 2014-08-20 21:30 UTC
From: gabriel dot ms1 at hotmail dot com Assigned: salathe (profile)
Status: Closed Package: Website problem
PHP Version: Irrelevant OS: All
Private report: No CVE-ID: None
View Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
MUST BE VALID
Solve the problem:
37 - 10 = ?
Subscribe to this entry?

 
 [2014-08-20 10:36 UTC] gabriel dot ms1 at hotmail dot com
Description:
------------
Search link redirection is missing .php in the url end.

It just affects br1.php.net mirror (Brazilian Portuguese Language).

Expected result:
----------------
I change the documentation language to Brazilian Portuguese.
I search for a function on search box (mysqli for example).
I click the link and expect to be redirected to : br1.php.net/manual/pt_BR/class.mysqli.php

Actual result:
--------------
When I click on the search result, redirection url is: br1.php.net/manual/pt_BR/class.mysqli
Displaying 404 http error

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2014-08-20 19:06 UTC] bjori@php.net
-Status: Open +Status: Verified
 [2014-08-20 19:06 UTC] bjori@php.net
Thats weird. Doing this for the other translations works just fine:
http://www.php.net/manual/ja/function.strpos
http://www.php.net/manual/fr/function.strpos
but not pt_BR
http://www.php.net/manual/pt_BR/function.strpos

Note that this is not mirror dependent, but language dependent.
 [2014-08-20 19:11 UTC] gabriel dot ms1 at hotmail dot com
I don't know if it's relevant, but pt_br is the only language with an underscore in url.
 [2014-08-20 21:07 UTC] salathe@php.net
It looks more like an issue with searching for ".../manual/pt_br/class.mysqli.php" on the filesystem, where the correct directory name is "pt_BR".  Trying a quick fix now.
 [2014-08-20 21:30 UTC] salathe@php.net
-Status: Verified +Status: Closed -Assigned To: +Assigned To: salathe
 [2014-08-20 21:30 UTC] salathe@php.net
The fix for this bug has been committed. Since the websites are not directly
updated from the repository, the fix might need some time to spread
across the globe to all mirror sites, including PHP.net itself.

Thank you for the report, and for helping us make PHP.net better.


 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri Apr 26 02:01:29 2024 UTC