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:37:22 +09:30
parent ea3f5b5d95
commit 6796b5630c
+1 -1
View File
@@ -151,7 +151,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;