Tablepedia / V2-Beta

Issue tracking for Tablepedia V2
0 stars 0 forks source link

Create account - URL is deemed invalid if it doesn't have http or https prefix #75

Closed FernandoContrerasPalomar closed 8 years ago

FernandoContrerasPalomar commented 8 years ago

I got an invalid URL message when I entered the URL as: www.facebook.com/fercontreras8. The message didn't explain why the URL was invalid. I added the http:// prefix and then it worked. Is there a way to validate the URL without requiring such prefix?

contreras-jorgev commented 8 years ago

We are passing the URL to an open-source module. What we'll try to do is, that if it returns as failed, check for the protocol (https, or http), if it is not there pre-pend it, and try again. If it works, we can add the prefix to the URL provided (and remember it as such).

contreras-jorgev commented 8 years ago

Note: We will deploy shortly ...