We're updating the issue view to help you get more done. 

Add a whitelist for valid types of links when autolinking

Description

Autolinking should use a system-wide list of url schemes (plus the defaults).

Rename the Customization > Link Previews section of the System Console to Customization > Posts and add the following setting below the "Enable Link Previews" setting:

Custom URL Schemes [ E.g.: "test123, test456" ]
Allow message text to link if it begins with any of the URL schemes listed here. By default, the following protocols will create links: "http", "https", "ftp", "tel", and "mailto".

Config setting ``CustomUrlSchemes`` should be added to the ServiceSettings section of config with an empty default value.

------

Note that "http", "https", "ftp", "tel", and "mailto" should autolink without needing to be specified, and cannot be removed.

QA Test Steps

See description

Status

Mana

4

Assignee

Harrison Healey

Reporter

Harrison Healey

Epic Link

None

Fix versions

Mattermost Team

Apps

Sprint

None

Labels

None

GitHub Issue

None

QA Assignee

Linda Mitchell

QA Testing Areas

Messages
System Console