- Fix for URL validation.
- Removed the utf8_decode function being used on $url, which doesn't seem necessary