Skip to content

Commit

Permalink
MDL-28569 blocks/rss_client - RSS feed autodiscovery fails with amper…
Browse files Browse the repository at this point in the history
…sands

Simpliepie is quoting urls and we need the url to be unescaped
  • Loading branch information
danpoltawski authored and Sam Hemelryk committed Aug 8, 2011
1 parent 0d38abc commit d8d1f9e
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion blocks/rss_client/editfeed.php
Expand Up @@ -140,7 +140,9 @@ public static function autodiscover_feed_url($url){
return $url;
}

return $rss->subscribe_url();
// return URL without quoting..
$discoveredurl = new moodle_url($rss->subscribe_url());
return $discoveredurl->out(false);
}
}

Expand Down

0 comments on commit d8d1f9e

Please sign in to comment.