valid-url icon indicating copy to clipboard operation
valid-url copied to clipboard

URIs starting with //

Open facundoolano opened this issue 8 years ago • 2 comments

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.

facundoolano avatar May 07 '16 22:05 facundoolano

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 :-)

ogt avatar May 15 '16 19:05 ogt

Hi, I've added a fix for this issue here. It will work only with isUri()

nakedtoast avatar Mar 27 '19 18:03 nakedtoast