MDL-28569 blocks/rss_client - RSS feed autodiscovery fails with ampersands

Simpliepie is quoting urls and we need the url to be unescaped
This commit is contained in:
Dan Poltawski
2011-08-08 14:10:44 +08:00
committed by Sam Hemelryk
parent 47a6e69179
commit a873af4dfe
+3 -1
View File
@@ -140,7 +140,9 @@ class feed_edit_form extends moodleform {
return $url;
}
return $rss->subscribe_url();
// return URL without quoting..
$discoveredurl = new moodle_url($rss->subscribe_url());
return $discoveredurl->out(false);
}
}