Ticket #879 (closed defect: fixed)

Opened 4 years ago

Last modified 2 years ago

rss2 import leaves CDATA in $title

Reported by: pgarrett Assigned to: 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 (0.5 kB) - added by mdawaffe on 08/31/06 16:47:45.

Change History

02/15/05 03:42:55 changed by pgarrett

  • Patch set to No.

03/10/05 09:08:04 changed by ryan

  • Patch changed from No to Yes.

08/31/06 16:47:45 changed by mdawaffe

  • attachment 879.diff added.

08/31/06 17:16:11 changed by mdawaffe

  • keywords set to has-patch 2nd-opinion rss import.
  • owner changed from anonymous to mdawaffe.
  • status changed from new to assigned.
  • milestone set to 2.1.

Patch from pgarrett updated and attached.

08/31/06 17:36:37 changed by ryan

  • status changed from assigned to closed.
  • resolution set to fixed.

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

09/25/06 02:27:02 changed by ryan

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

09/25/06 04:19:38 changed by foolswisdom

  • milestone changed from 2.1 to 2.0.5.

11/30/06 19:41:51 changed by

  • milestone deleted.

Milestone 2.0.5 deleted