From 1261364dd1f3000110b90ea79c09cd272f93fede Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Mon, 2 May 2005 08:21:41 +0000 Subject: - Patch #21751 by crunchywhelch: added missing check_plain() when emitting the -tag in RSS feeds. --- modules/taxonomy/taxonomy.module | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modules/taxonomy/taxonomy.module') diff --git a/modules/taxonomy/taxonomy.module b/modules/taxonomy/taxonomy.module index d72be2b6f..0b47a4ec1 100644 --- a/modules/taxonomy/taxonomy.module +++ b/modules/taxonomy/taxonomy.module @@ -1180,7 +1180,7 @@ function taxonomy_rss_item($node) { $terms = taxonomy_node_get_terms($node->nid); foreach ($terms as $term) { $output[] = array('key' => 'category', - 'value' => $term->name, + 'value' => check_plain($term->name), 'attributes' => array('domain' => url('taxonomy/term/'.$term->tid, NULL, NULL, TRUE))); } return $output; -- cgit v1.2.3