[drupal-devel] [bug] taxonomy.module should run check_plain on rss output

Morbus Iff drupal-devel at drupal.org
Mon May 2 02:20:15 UTC 2005


Issue status update for http://drupal.org/node/21751

 Project:      Drupal
 Version:      cvs
 Component:    taxonomy.module
 Category:     bug reports
 Priority:     normal
 Assigned to:  Anonymous
 Reported by:  crunchywelch
 Updated by:   Morbus Iff
 Status:       patch

I ran into this the other day. I haven't tested the patch, but it
certainly looks sane.




Morbus Iff



Previous comments:
------------------------------------------------------------------------

May 1, 2005 - 17:57 : crunchywelch

Attachment: http://drupal.org/files/issues/taxonomy_8.patch (694 bytes)

In the case of a category name with an amphersand or other reserved xml
character the rss output of taxonomy module can break the feed. This
one line patch runs check_plain on the category value in the
taxonomy_rss_item() function which is the way that node_feed works and
solves the problem. This patch is against cvs, can provide one for 4.6
if needed.


Thanks!







More information about the drupal-devel mailing list