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:
committed by
Sam Hemelryk
parent
47a6e69179
commit
a873af4dfe
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user