php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #41047 search results double-escaping entities
Submitted: 2007-04-11 07:21 UTC Modified: 2008-03-19 13:25 UTC
From: a at b dot c dot de Assigned: bjori (profile)
Status: Closed Package: Website problem
PHP Version: Irrelevant OS: Irrelevant
Private report: No CVE-ID: None
 [2007-04-11 07:21 UTC] a at b dot c dot de
Description:
------------
When using the yahoo-powered search facility (in the function list or the online documentation), the search results are being escaped as entities twice; so that, for example > appears rendered as >.

(Escaping/character encoding is also inevitably confused when dealing with other character sets from other languages; perhaps the search should be restricted to the user's chosen language - but that's another isue.)


Reproduce code:
---------------
Search in the function list for "domdocument"


Expected result:
----------------
# DOM Functions - Manual

DOMDocument->createAttribute() ? Create new attribute ... DOMDocument->createProcessingInstruction() ? Creates new PI node ...

php.net/manual/en/ref.dom.php - 8 Apr 2007 - 134k - Cached

# DomDocument->dump_file - Manual

DomDocument->dump_file (No version information available, might be only in CVS) DomDocument->dump_file ? Dumps the internal XML tree back into a file. Description ...

php.net/manual/en/function.domdocument-dump-file.php - 25 Mar 2007 - 24k - Cached


Actual result:
--------------
# DOM Functions - Manual

DOMDocument->createAttribute() ? Create new attribute ... DOMDocument->createProcessingInstruction() ? Creates new PI node ...

php.net/manual/en/ref.dom.php - 8 Apr 2007 - 134k - Cached

# DomDocument->dump_file - Manual

DomDocument->dump_file() cr?e un document XML ? partir de sa repr?sentation interne DOM. DomDocument->dump_mem() est g?n?ralement appel?e apr?s la construction d'un ...

php.net/manual/fr/function.domdocument-dump-file.php - 10 Apr 2007 - 24k - Cached


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2007-05-25 19:38 UTC] bjori@php.net
I don't think there is anything we can do about that...
 [2008-03-19 13:25 UTC] bjori@php.net
This bug has been fixed in CVS. Since the websites are not directly
updated from the CVS server, 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-2025 The PHP Group
All rights reserved.
Last updated: Wed Aug 06 08:00:03 2025 UTC