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

Double slash in url #11

Open
devarajc opened this issue Mar 21, 2016 · 1 comment
Open

Double slash in url #11

devarajc opened this issue Mar 21, 2016 · 1 comment

Comments

@devarajc
Copy link

I have an issue to validating the URL
For an example
var url = "http://localhost:4001//app**//**test#//dash//Dashboard1"

if (validUrl.isUri(url)){
    console.log('Looks like an URI');
} else {
    console.log('Not a URI');
}

The output says valid url but I want to validate the double slash also.
Some of my customers makes mistakes to give the url input so its redirects to some other pages.

@ogt
Copy link
Owner

ogt commented May 15, 2016

Hi @devarajc and thank you for the report (and sorry for the delayed response .. I know 2 months delay is too much)
Anyway I am leaving the issue open as well - to see if I can get around to do it - feel free to submit a patch :-)

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