Bug fix in url validation.