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
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If this is not your bug, you can add a comment by following this link.
If this is your bug, but you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: gabriel dot ms1 at hotmail dot com
New email:
PHP Version: OS:

 

 [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 15:01:56 2024 UTC