Permalink
Browse files

MDL-28569 blocks/rss_client - RSS feed autodiscovery fails with amper…

…sands

Simpliepie is quoting urls and we need the url to be unescaped
  • Loading branch information...
1 parent 0d38abc commit d8d1f9e35e2ecae18da9e7a34c5a7fcc542821a0 @danpoltawski danpoltawski committed with Sam Hemelryk Aug 2, 2011
Showing with 3 additions and 1 deletion.
  1. +3 −1 blocks/rss_client/editfeed.php
@@ -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);
}
}

0 comments on commit d8d1f9e

Please sign in to comment.