php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #24354 "php.net/search string" redirect doesn't urldecode() before sending to google
Submitted: 2003-06-27 01:17 UTC Modified: 2003-06-27 05:59 UTC
From: php at digdug dot cx Assigned:
Status: Closed Package: Website problem
PHP Version: 4.3.1 OS: FreeBSD
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:
35 - 28 = ?
Subscribe to this entry?

 
 [2003-06-27 01:17 UTC] php at digdug dot cx
Description:
------------
Recently, the PHP.net web site has begun redirecting certain in-URL searches to Google. However, if the search string contains spaces that are HTML-encoded, they are not decoded before being sent to Google.

(Also, why am I required to select a PHP version when reporting a problem with the web site?)

Reproduce code:
---------------
Try this URL:
http://www.php.net/strip%20html%20tags

(This is the URL I end up with when I type "php.net/strip html tags" into IE or Opera)

Expected result:
----------------
I expect to be taken to a search for "strip html tags" (not including the quotes)

Actual result:
--------------
Instead, I am taken to a search for "strip%20html%20tags" (not including the quotes)

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2003-06-27 05:59 UTC] goba@php.net
I have fixed the code to accept URL encoded values too. It wil show up in a few minutes on the site.

You are required to provide a PHP version, becuase this is a general bug reporting system. We would have multiple pages to submit a bug report, in case of having type dependant elements, and many submitters would not bother with starting a new report... We try to make it simple.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sat Apr 13 18:01:29 2024 UTC