Skip to content

Suggestion: avoid autolink for bare localhost #1936

Description

@thw0rted

I found #962 and RocketChat/Rocket.Chat#28427, where it looks like the link parser is configured to auto-link valid FQDN hostnames and also turn explicit URLs (including a scheme) into links more consistently even when the hostname is local.

My suggestion is that, if possible, localhost specifically should be excluded from this behavior. At the moment, just including the bare word "localhost" in a chat message creates a link https://localhost. To a first approximation, this is basically never what the author intended.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions