[wp-trac] [WordPress Trac] #17767: Anonymous comments can break comments RSS feed

WordPress Trac wp-trac at lists.automattic.com
Wed Aug 24 12:04:38 UTC 2011


#17767: Anonymous comments can break comments RSS feed
---------------------------------------------+-----------------------------
 Reporter:  dzver                            |       Owner:  westi
     Type:  defect (bug)                     |      Status:  accepted
 Priority:  normal                           |   Milestone:  Future Release
Component:  Feeds                            |     Version:  3.2
 Severity:  normal                           |  Resolution:
 Keywords:  3.3-early westi-likes has-patch  |
---------------------------------------------+-----------------------------

Comment (by westi):

 So the underlying issue here is that we use ent2ncr to convert named
 entities to numeric ones for XML and then do the HTML escaping which
 converts {{{–}}} to {{{–}}}.

 So we need to apply this CDATA change to all the places we do this in
 feeds or change the order in which we do this filtering so that the named
 entities that esc_html santizes too will still be encoded.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/17767#comment:2>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list