|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #39054 04-Oct-2006 has raw ampersand, breaks RSS feed
Submitted: 2006-10-05 23:13 UTC Modified: 2006-10-06 06:29 UTC
From: edwardzyang at thewritingpot dot com Assigned: bjori (profile)
Status: Closed Package: Website problem
PHP Version: Irrelevant OS:
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
Block user comment
Status: Assign to:
Bug Type:
From: edwardzyang at thewritingpot dot com
New email:
PHP Version: OS:


 [2006-10-05 23:13 UTC] edwardzyang at thewritingpot dot com
The RSS feed is broken... again. This time the culprit is an unencoded ampersand in the title: "Forum PHP in Paris, France, November 9 & 10th, 2006". Replace & with & and you're golden.

I would recommend passing any HTML sent to the RSS feed through DOM (using relaxed HTML parsing, and then outputting again) or HTML Purifier (

See Bug #37512 and Bug #37513 for prior art. I'll take another whack at making a patch using the above-mentioned advice.


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2006-10-06 06:29 UTC]
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 itself.

Thank you for the report, and for helping us make better.

PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Mon Feb 26 07:01:28 2024 UTC