A user reported that non-HTTP(S) URLs, such as mumble://, were not hyperlinking correctly in a Discourse instance. Whitestrake noted that standard HTML tags and Markdown links failed to preserve the protocol. mpalmer confirmed that unrecognized URL schemes were not supported at the time but mentioned a feature in development for version 1.7 to allow alternate schemas like ftp:// and steam://. alldritt added that their community also needed support for the applescript scheme.
Later, neil announced that support for custom URL schemes had been added via a new “allowed href schemes” setting. Users Falco and jomaxro tested steam:// links, with mixed results regarding specific Steam actions like adding friends versus launching games. The discussion clarified that while the protocol handler works when clicking links, raw text versions of these links (e.g., steam://store/570) do not auto-link. neil explained that handling raw text auto-linking for custom schemes is technically difficult due to the lack of access to site settings in the markdown engine, and the team decided not to implement it for now.
I’m fairly new to running Discourse so I’m not sure if there’s a setting for security purposes perhaps that could be stripping the nonstandard protocol links? Possibly of note - the forum in question is running in a subfolder and seems to be fully functional, and the mumble:// link is to the same domain as the forum itself, as the Murmur server is on the same instance.
No, it’s just part of the intended featureset for 1.7, as described in #releases specifically, “Support alternate URL schemas if allowed such as ftp://, steam:// etc”.
Support for more url schemes has been added! There’s a new setting called “allowed href schemes” where you can add a list of schemes to allow in links.