CodeSleeve/stapler — pull request #29 by marsd (2014-01-27 07:00:43+00:00)
Title: parse_url() attempts to parse Window file paths

Fixed by utilizing PHP's internal filter validation instead.

Example of unexpected parsing:

```php
C:\xampp\htdocs\contest>php artisan stapler:refresh Photo
Refreshing uploaded images...
Array
(
[scheme] => C
[path] => \xampp\htdocs\contest//system/Photo/photos/000/000/001/original/ba4a8fc0840011e3b64d12c7bfb8ccec_8.jpg
)

[ErrorException]
getimagesizefromstring(): Read error!

stapler:refresh [--attachments[="..."]] [class]

```