Ticket #879 (closed defect (bug): fixed)

Opened 7 years ago

Last modified 5 years ago

rss2 import leaves CDATA in $title

Reported by: pgarrett Owned by: mdawaffe
Priority: normal Milestone:
Component: General Version: 1.5
Severity: minor Keywords: has-patch 2nd-opinion rss import
Cc:

Description

Some feed generators (in this case GeekLog) place the CDATA tag in the title. import-rss.php does not remove it.

changed line 58 to: $title = str_replace( array('<![CDATA,?]>'), , addslashes( trim($title[1]) ) );

Attachments

879.diff Download (547 bytes) - added by mdawaffe 5 years ago.

Change History

  • Patch set to No

comment:2   ryan7 years ago

  • Patch changed from No to Yes
  • Keywords has-patch 2nd-opinion rss import added
  • Owner changed from anonymous to mdawaffe
  • Status changed from new to assigned
  • Milestone set to 2.1

Patch from pgarrett updated and attached.

comment:4   ryan5 years ago

  • Status changed from assigned to closed
  • Resolution set to fixed

(In [4150]) strip CDATA from title. Props pgarrett and mdawaffe. fixes #879

comment:5   ryan5 years ago

(In [4237]) strip CDATA from title. Props pgarrett and mdawaffe. fixes #879

  • Milestone changed from 2.1 to 2.0.5
  • Milestone 2.0.5 deleted

Milestone 2.0.5 deleted

Note: See TracTickets for help on using tickets.