Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

URL validation without http/https #904

Closed
AtomicPenguins opened this issue Dec 23, 2015 · 1 comment
Closed

URL validation without http/https #904

AtomicPenguins opened this issue Dec 23, 2015 · 1 comment

Comments

@AtomicPenguins
Copy link

Hi. I want to validate a url without the http:// on it. When I put like "example.com", the error still comes up. I want to accept urls like that.

@matijatosic
Copy link

After looking all over and not finding a satisfactory response (one that doesn't include regexes), I solved it and answered here: https://stackoverflow.com/questions/12741517/how-to-make-url-validation-without-http-or-add-it-after-validation-passed/44848476#44848476

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants