This repository was archived by the owner on Apr 12, 2024. It is now read-only.
This repository was archived by the owner on Apr 12, 2024. It is now read-only.
URL validation does not recognize URLs with no protocol #6634
Closed
Description
http://w is a valid url, but www.google.com is not. This seems to be a bug.
Working fiddle here: http://jsfiddle.net/HB7LU/2390/
A better regex that recognizes both types of urls can be found here: http://stackoverflow.com/questions/833469/regular-expression-for-url