Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

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

…on valid feeds
  • Loading branch information...
commit 5ec001f19fde16b3f8223b41e16b114ae32c3767 1 parent cda44a1
@kastashov kastashov authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  lib/simplepie/moodle_simplepie.php
View
2  lib/simplepie/moodle_simplepie.php
@@ -153,7 +153,7 @@ public function __construct($url, $timeout = 10, $redirects = 5, $headers = null
if ($parser->parse()) {
$this->headers = $parser->headers;
- $this->body = $parser->body;
+ $this->body = trim($parser->body);
$this->status_code = $parser->status_code;
Please sign in to comment.
Something went wrong with that request. Please try again.