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

View File

@ -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;