[wp-trac] [WordPress Trac] #24701: Poorly formed CDATA section in RSS feed
WordPress Trac
noreply at wordpress.org
Sun Jul 7 02:44:23 UTC 2013
#24701: Poorly formed CDATA section in RSS feed
--------------------------+------------------------
Reporter: jphekman | Owner:
Type: defect (bug) | Status: closed
Priority: normal | Milestone:
Component: Feeds | Version:
Severity: normal | Resolution: duplicate
Keywords: |
--------------------------+------------------------
Changes (by SergeyBiryukov):
* status: new => closed
* resolution: => duplicate
* component: General => Feeds
* milestone: Awaiting Review =>
Old description:
> Discovered at http://ilaba.wordpress.com/feed/ -- apparently WordPress
> does not strip out control characters when generating CDATA sections in
> the RSS feed for blogs at wordpress.com. As a result, if an author
> includes a control character (in this case, ^L) in their post, the CDATA
> section that is wrapped around the post content will be poorly formed.
> Therefore, the XML document for the feed will not be well formed, and
> therefore not parsable by many XML parsers.
>
> The feed in question was not parsable on scienceseeker.org on 7/6/13,
> which is why I am interested in the question. It may be corrected by its
> owner by the time you test it, so I am attaching a copy of the broken
> version to this ticket.
New description:
Discovered at http://ilaba.wordpress.com/feed/ -- apparently WordPress
does not strip out control characters when generating CDATA sections in
the RSS feed for blogs at wordpress.com. As a result, if an author
includes a control character (in this case, `^L`) in their post, the CDATA
section that is wrapped around the post content will be poorly formed.
Therefore, the XML document for the feed will not be well formed, and
therefore not parsable by many XML parsers.
The feed in question was not parsable on scienceseeker.org on 7/6/13,
which is why I am interested in the question. It may be corrected by its
owner by the time you test it, so I am attaching a copy of the broken
version to this ticket.
--
Comment:
Duplicate of #19998.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/24701#comment:1>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list