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

isURL not working? #30

Closed
jbreitbart opened this issue Jan 7, 2015 · 3 comments
Closed

isURL not working? #30

jbreitbart opened this issue Jan 7, 2015 · 3 comments

Comments

@jbreitbart
Copy link

I am not sure if I am doing this the right way, but

println(govalidator.IsURL(http://user@pass:domain.com/path/page))

return false for me. Shouldn't this be true? Furthermore, I get the following results:

println(govalidator.IsURL(http://www.domain.com)) returns true
println(govalidator.IsURL(http://blog.domain.com)) returns false

@asaskevich
Copy link
Owner

Please, take a look at the #31 , maybe problem is fixed yet.

@jbreitbart
Copy link
Author

IsRequestURL works as expected, thanks. I still find IsURL confusing

@asaskevich
Copy link
Owner

Maybe IsURL can be replaced with IsRequestURL if they have similar behaviour?

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

2 participants