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 Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
If you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: php at digdug dot cx
New email:
PHP Version: OS:

 

 [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

Pull Requests

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 Oct 12 22:01:28 2024 UTC