[wp-trac] [WordPress Trac] #3260: XML output (rss, atom, rdf ...) should always use UTF-8 or CDATA for user input

WordPress Trac wp-trac at lists.automattic.com
Wed Sep 9 13:37:59 UTC 2009


#3260: XML output (rss, atom, rdf ...) should always use UTF-8 or CDATA for user
input
-----------------------+----------------------------------------------------
 Reporter:  deremder   |        Type:  defect (bug)
   Status:  new        |    Priority:  normal      
Milestone:  2.9        |   Component:  Feeds       
  Version:  2.8.2      |    Severity:  normal      
 Keywords:  has-patch  |  
-----------------------+----------------------------------------------------

Comment(by peaceablewhale):

 When will unallowed entities be output to the feed? I don't think that
 using CDATA is a good solution as it may cause double escaping.

 <title>&amp;</title> is &, but <title><![[CDATA&amp;]]></title> is &amp;.

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


More information about the wp-trac mailing list