add ignorecase when checking url format

fixes #1