mirror of
https://github.com/moodle/moodle.git
synced 2025-04-27 03:14:20 +02:00
MDL-41122: Trim on RSS body to prevent Remote RSS block from failing on valid feeds
This commit is contained in:
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;
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user