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
The Markdown autolinking only works for TLDs up to 4 characters.
Even though there are many new TLDs with more than 4 characters, e.g. .africa, .computer, etc.
In fact TLDs can be as long as 63 characters.
Steps to reproduce
With Mattermost v5.32.1, send a message with:
* example.com/page
* example.computer/page
Expected behavior
Both links are autolinked.
Observed behavior (that appears unintentional)
Only the first link is autolinked since the TLD of the second link has more than 4 characters.
Possible fixes
Increase the autolink TLD limit to 63 characters or alternatively check the TLD against a list of all TLDs.
The text was updated successfully, but these errors were encountered:
We are closing some older tickets that have been inactive for a while. If the issue persists on the latest server version, feel free to re-open this issue.
Summary
The Markdown autolinking only works for TLDs up to 4 characters.
Even though there are many new TLDs with more than 4 characters, e.g.
.africa
,.computer
, etc.In fact TLDs can be as long as 63 characters.
Steps to reproduce
With Mattermost v5.32.1, send a message with:
Expected behavior
Both links are autolinked.
Observed behavior (that appears unintentional)
Only the first link is autolinked since the TLD of the second link has more than 4 characters.
Possible fixes
Increase the autolink TLD limit to 63 characters or alternatively check the TLD against a list of all TLDs.
The text was updated successfully, but these errors were encountered: