1
0
mirror of https://github.com/moodle/moodle.git synced 2025-05-11 18:56:09 +02:00

MDL-41122: Trim on RSS body to prevent Remote RSS block from failing on valid feeds

This commit is contained in:
Kirill Astashov 2013-08-12 12:35:54 +09:30
parent 50ff861263
commit faaf3f63c2

@ -154,7 +154,7 @@ class moodle_simplepie_file extends SimplePie_File {
if ($parser->parse()) {
$this->headers = $parser->headers;
$this->body = $parser->body;
$this->body = trim($parser->body);
$this->status_code = $parser->status_code;