-
-
Notifications
You must be signed in to change notification settings - Fork 5.8k
Closed
Labels
bugSomething isn't workingSomething isn't working
Description
Two issues found with the Validate Url algorithm:
- A string is considered to be valid URL if it starts with www. even though it does not have https
validateUrl('www.google.com')// returns truevalidateUrl('google.com')// returns false
- A valid URL returns false if starts with www like:
validateUrl('https://wwwdomain.com')// returns false
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working