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

URLs with credentials are not parsed correctly #294

Open
georgmu opened this issue Nov 5, 2019 · 0 comments
Open

URLs with credentials are not parsed correctly #294

georgmu opened this issue Nov 5, 2019 · 0 comments

Comments

@georgmu
Copy link

georgmu commented Nov 5, 2019

When a link includes username/password inside the URL (see userinfo in https://en.wikipedia.org/wiki/URL), the automatic linking is wrong.

For example, given the following URL: https://foo:bar@example.com/foobar

Expected behavior:

The link is marked as link as it is (Link to https://foo:bar@example.com/foobar)

Actual behavior:

There are two links (one http link and one mailto link) and some unlinked text:

Link https://foo
Unlinked text :
Link mailto:bar@example.com
Unlinked text /foobar
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

1 participant