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

Linkifier not working with more than one dot in domain name #2756

Closed
VShell opened this issue Dec 18, 2016 · 3 comments
Closed

Linkifier not working with more than one dot in domain name #2756

VShell opened this issue Dec 18, 2016 · 3 comments
Labels
A-Timeline P1 S-Minor Impairs non-critical functionality or suitable workarounds exist T-Defect

Comments

@VShell
Copy link

VShell commented Dec 18, 2016

When linking to rooms like #erlang:57north.org.uk, only #erlang:57north.org gets turned into a link. Same with #letstesthis:halfshot.co.uk ending at the .co. However, #thisisatest:foo.example.com works. I assume that the issue is that .org and .co are valid TLDs, so the linkifier is not greedy enough?

@Half-Shot
Copy link
Member

I'm wondering why the linkifier is even verifying TLDs at all. I'd either go all the way and verify the HS/room/user_id or don't verify and let the user click through.

@t3chguy
Copy link
Member

t3chguy commented Jun 23, 2018

image
its not related to the number of dots in the domain

@t3chguy
Copy link
Member

t3chguy commented Jun 23, 2018

it gets weirder
image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-Timeline P1 S-Minor Impairs non-critical functionality or suitable workarounds exist T-Defect
Projects
None yet
Development

No branches or pull requests

4 participants