diff options
author | Dries Buytaert <dries@buytaert.net> | 2005-05-02 08:21:41 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2005-05-02 08:21:41 +0000 |
commit | 1261364dd1f3000110b90ea79c09cd272f93fede (patch) | |
tree | b5d8a6ce93f8c852cce207f12959197046c331bd /modules | |
parent | 8bfcf2c2e4457b910b0f8754d4bd0c06f45bf07f (diff) | |
download | brdo-1261364dd1f3000110b90ea79c09cd272f93fede.tar.gz brdo-1261364dd1f3000110b90ea79c09cd272f93fede.tar.bz2 |
- Patch #21751 by crunchywhelch: added missing check_plain() when emitting the <category>-tag in RSS feeds.
Diffstat (limited to 'modules')
-rw-r--r-- | modules/taxonomy.module | 2 | ||||
-rw-r--r-- | modules/taxonomy/taxonomy.module | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/modules/taxonomy.module b/modules/taxonomy.module index d72be2b6f..0b47a4ec1 100644 --- a/modules/taxonomy.module +++ b/modules/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; 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; |