question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Fails to check ftp URLs with username and password

See original GitHub issue

I was trying to test this library with GramTest, a grammar based test case generation tool (https://github.com/codelion/gramtest). I found that it fails to to check ftp URLs.

isUrl('ftp://username:password@hostname') //returns false

Issue Analytics

  • State:open
  • Created 7 years ago
  • Reactions:1
  • Comments:7 (1 by maintainers)

github_iconTop GitHub Comments

2reactions
sloops77commented, Oct 9, 2018

I also get this failure for a url like 'postgresql://user:pass@localhost:5432/dev'. without a user/pass it passes

1reaction
riker09commented, Sep 27, 2018

This seems to be an invalid URL: amqp://user:pass@domain.tld:1234

The port is what throws the regex off, the rest matches just fine.

Read more comments on GitHub >

github_iconTop Results From Across the Web

FTP server login failure with correct user/password ... - IBM
This Q&A is abstracted from a PMR. I am having an issue while transferring file using SFTP protocol for FileOutput node. The mqsi...
Read more >
Username in the address for an FTP site - Super User
Both the Internet Explorer and Windows Explorer first try to connect to FTP server anonymously. If they fail, then they prompt for credentials....
Read more >
E-FTP: Unable to Add/View File Attachments if the URL has ...
Unable to use attachment PeopleCode functions if the FTP URL contains special characters in the username/password. The username/password passed ...
Read more >
Error in FTP connection using domain name, username and ...
It's likely you're using a service like GoDaddy (or similar) with cPanel setup. In my case, GoDaddy usually has this error and there's...
Read more >
How to Access an FTP Server from the Browser | ExaVault Blog
See how a web browser can serve as an FTP client. ... address or URL) and, obviously, the necessary security credentials to gain...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found