Fixed bug - do not allow invalid hostname with double dots i.e. zend..com
Merge pull request #348 from phzfi/master

Fixed bug - do not allow invalid hostname with double dots i.e. zend..com