Permalink
Browse files

MDL-21356 rsslib: Schema address from tag output in wasn't escaped (p…

…roblem only if it contains &)
  • Loading branch information...
1 parent 4f1216a commit 8ec0c7b0da03203a13763898fb378f46034320ca @sammarshallou sammarshallou committed Jan 15, 2010
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/rsslib.php
View
@@ -216,7 +216,7 @@ function rss_add_items($items) {
if (isset($item->tags)) {
$attributes = array();
if (isset($item->tagscheme)) {
- $attributes['domain'] = $item->tagscheme;
+ $attributes['domain'] = s($item->tagscheme);
}
foreach ($item->tags as $tag) {
$result .= rss_full_tag('category', 3, false, $tag, $attributes);

0 comments on commit 8ec0c7b

Please sign in to comment.