valid-url
valid-url copied to clipboard
URIs starting with //
isUri
returns undefined for urls starting with a double slash, as in //lh6.ggpht.com/5mI27oolnooL__S3ns9qAf_6TsFNExMtUAwTKz6prWCxEmVkmZZZwe3lI-ZLbMawEJh3=w300
which I understand is a valid url. For instance, Google play uses it for its images and icons.
Hi @facundoolano and thank you for the report (and sorry for the delayed response) I am leaving the issue open - to see if I can get around to do it - feel free to submit a patch :-)
Hi, I've added a fix for this issue here. It will work only with isUri()