Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Merge pull request #2 from laukstein/patch-1

Returns the decoded URL, as a string.
  • Loading branch information...
commit b700991c569d42c3946e3381779f1e264e5d6ace 2 parents 1c8b390 + 15026d7
@tylerhall authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  class.smushit.php
View
2  class.smushit.php
@@ -82,7 +82,7 @@ private function parseResponse($json_str)
}
$this->filename = substr (strrchr ($json->src, '/'), 1 );
$this->size = $json->src_size;
- $this->compressedUrl = $json->dest;
+ $this->compressedUrl = rawurldecode ($json->dest);
$this->compressedSize = $json->dest_size;
$this->savings = $json->percent;
return true;
Please sign in to comment.
Something went wrong with that request. Please try again.