#39054 [NEW]: 04-Oct-2006 has raw ampersand, breaks RSS feed

From: Date: Thu, 05 Oct 2006 23:13:17 +0000
Subject: #39054 [NEW]: 04-Oct-2006 has raw ampersand, breaks RSS feed
Groups: php.mirrors 
Request: Send a blank email to php-mirrors+get-32942@lists.php.net to get a copy of this message
From: edwardzyang at thewritingpot dot com Operating system: PHP version: Irrelevant PHP Bug Type: Website problem Bug description: 04-Oct-2006 has raw ampersand, breaks RSS feed Description: ------------ 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 (http://hp.jpsband.org/). See Bug #37512 and Bug #37513 for prior art. I'll take another whack at making a patch using the above-mentioned advice. -- Edit bug report at http://bugs.php.net/?id=39054&edit=1 -- Try a CVS snapshot (PHP 4.4): http://bugs.php.net/fix.php?id=39054&r=trysnapshot44 Try a CVS snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=39054&r=trysnapshot52 Try a CVS snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=39054&r=trysnapshot60 Fixed in CVS: http://bugs.php.net/fix.php?id=39054&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=39054&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=39054&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=39054&r=needscript Try newer version: http://bugs.php.net/fix.php?id=39054&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=39054&r=support Expected behavior: http://bugs.php.net/fix.php?id=39054&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=39054&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=39054&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=39054&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=39054&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=39054&r=dst IIS Stability: http://bugs.php.net/fix.php?id=39054&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=39054&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=39054&r=float No Zend Extensions: http://bugs.php.net/fix.php?id=39054&r=nozend MySQL Configuration Error: http://bugs.php.net/fix.php?id=39054&r=mysqlcfg

« previous php.mirrors (#32942) next »