|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #24354 " 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
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.
Bug Type:
From: php at digdug dot cx
New email:
PHP Version: OS:


 [2003-06-27 01:17 UTC] php at digdug dot cx
Recently, the 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:

(This is the URL I end up with when I type " 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)


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2003-06-27 05:59 UTC]
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 19:01:29 2024 UTC