imbo/imboclient-php — pull request #91 by christeredvartsen (2014-02-17 15:35:28+00:00)
Title: Image extension is replicated when a URL is converted to a string more than once

If a URL has been given an extension, and then converted to a string, the extension will be added again the next time the URL is converted to a string:

```php
$url = $client->getImageUrl('id');
echo $url->png();
echo $url;
echo $url;
```

will give the following output:

```
http://imbo/users/christer/images/id.png?accessToken=
http://imbo/users/christer/images/id.png.png?accessToken=
http://imbo/users/christer/images/id.png.png.png?accessToken=
```