You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
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 :-)
I have an issue to validating the URL
For an example
var url = "http://localhost:4001//app**//**test#//dash//Dashboard1"
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.
The text was updated successfully, but these errors were encountered: