-
-
Notifications
You must be signed in to change notification settings - Fork 2.3k
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
ftp with path not seen as valid #1584
Comments
Hi @Lehren , Just a question. What options are you passing in isURL ? |
|
Hello @Lehren. on using isURL, with those options, the check brings back false. How did you make it work on your side? |
Yes removing the colon before |
@Lehren. Yeah, I that actually works. That must be a problem with the isURL validator |
PR welcome. Thanks @katungi for investigating. |
@profnandaa Can I give it a shot ? |
@katungi -- for sure, thanks! |
Do you mind If I take care of this? |
merged with #1751 |
Describe the bug
A url like this:
sftp://user:[email protected]:/incoming/things.csv
Is not seen as valid. It is because of the colon character where the filepath starts.
Additional context
Validator.js version: 13.5.2
Node.js version: v.8.17.0
OS platform: [windows, linux, macOS, etc]: macOS 10.15.7
The text was updated successfully, but these errors were encountered: