Description:
Any text in a chat message with a dot in it, such as "System.exit()" will get autolinked by Rocket Chat, even though the default settings imply that it should only autolink scheme URLs, www URLs, TLD URLs, emails, and phone numbers. "System.exit" is none of those, for example.
Steps to reproduce:
- Type asdf.asdf into a chat message and send
- Observe that it has been autolinked by Rocket Chat
Expected behavior:
No autolink except for text which matches one of the above-mentioned settings (e.g. with a scheme, or with www, or with a well-known TLD).
Actual behavior:
Anything with a dot gets autolinked, even things that are clearly not links.
Server Setup Information:
- Version of Rocket.Chat Server: 5.0.1
- Operating System: Ubuntu
- Deployment Method: docker
- Number of Running Instances: 1
- DB Replicaset Oplog:
- NodeJS Version:
- MongoDB Version:
Client Setup Information
- Desktop App or Browser Version: browser
- Operating System:
Additional context
Screenshot:

Relevant logs:
Description:
Any text in a chat message with a dot in it, such as "System.exit()" will get autolinked by Rocket Chat, even though the default settings imply that it should only autolink scheme URLs, www URLs, TLD URLs, emails, and phone numbers. "System.exit" is none of those, for example.
Steps to reproduce:
Expected behavior:
No autolink except for text which matches one of the above-mentioned settings (e.g. with a scheme, or with www, or with a well-known TLD).
Actual behavior:
Anything with a dot gets autolinked, even things that are clearly not links.
Server Setup Information:
Client Setup Information
Additional context
Screenshot:
Relevant logs: