Fixed URL validation issue