You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
most people would guess that the string john@doe.com is an email address, but technically it is also a valid URL (an "auth" segment and a "hostname" segment).
isURL validates the above string, it would be nice if a option existed, e.g. allow_auth, whereby we could specify that URLs with an auth are invalid.
In my particular case would allow me to invalidate email-addresses that people mistakenly submit in place of actual URLs ... these things do happen for all sorts of reasons (e.g. carelessness, bad UI, misunderstanding, etc)
The text was updated successfully, but these errors were encountered:
hi,
most people would guess that the string
john@doe.com
is an email address, but technically it is also a valid URL (an "auth" segment and a "hostname" segment).isURL
validates the above string, it would be nice if a option existed, e.g.allow_auth
, whereby we could specify that URLs with an auth are invalid.In my particular case would allow me to invalidate email-addresses that people mistakenly submit in place of actual URLs ... these things do happen for all sorts of reasons (e.g. carelessness, bad UI, misunderstanding, etc)
The text was updated successfully, but these errors were encountered: