Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
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...
commit 7f62477a8763d67823cbc3a9ea7b784f43d1a8a1 1 parent 06b04e5
@danpoltawski danpoltawski authored
Showing with 3 additions and 1 deletion.
  1. +3 −1 blocks/rss_client/editfeed.php
View
4 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);
}
}
Please sign in to comment.
Something went wrong with that request. Please try again.