Skip to content
Browse files

Merge pull request #455 from mblaney/master

Don't trim compressed data.
  • Loading branch information...
2 parents 9b775e8 + 6d53dca commit b6b882f5212c3d3eb97e307f3161f33d595a44aa @mblaney mblaney committed on GitHub Jun 20, 2016
Showing with 1 addition and 1 deletion.
  1. +1 −1 library/SimplePie/File.php
View
2 library/SimplePie/File.php
@@ -227,7 +227,7 @@ public function __construct($url, $timeout = 10, $redirects = 5, $headers = null
if ($parser->parse())
{
$this->headers = $parser->headers;
- $this->body = trim($parser->body);
+ $this->body = $parser->body;
$this->status_code = $parser->status_code;
if ((in_array($this->status_code, array(300, 301, 302, 303, 307)) || $this->status_code > 307 && $this->status_code < 400) && isset($this->headers['location']) && $this->redirects < $redirects)
{

0 comments on commit b6b882f

Please sign in to comment.
Something went wrong with that request. Please try again.