Skip to content

Commit

Permalink
rss MDL-23588 unescaped urls in the rss block
Browse files Browse the repository at this point in the history
  • Loading branch information
Andrew Davis committed Jul 30, 2010
1 parent 1c30929 commit 4fdb592
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions blocks/rss_client/block_rss_client.php
Original file line number Diff line number Diff line change
Expand Up @@ -240,9 +240,8 @@ function get_item_html($item){
$link = $item->get_id();
}


$r = "<li>\n";
$r.= '<div class="link"><a href="'.$link.'" onclick="this.target=\'_blank\'" >'."\n";
$r.= '<div class="link"><a href="'.urldecode($link).'" onclick="this.target=\'_blank\'" >'."\n";
$r.= s($title);
$r.= "</a></div>\n";

Expand Down

0 comments on commit 4fdb592

Please sign in to comment.