Links with protocol other than http?

docker
markdown

(Matthew Gaudet) #1

For an internal instance we’re trying to allow links to non-HTTP sources. ie, links of the form application://path/to/resource.

It seems like the href attribute is getting blanked on these. Is there a setting or a whitelist to change somewhere?


(Allen - Watchman Monitoring) #2

I’d also love to see a way to bless certain URI formats


(Robin Ward) #3

I’d accept a PR that did this if any developers are willing to do it. The method that validates URLs is here. It would need the ability to provide a site setting that would also validate as truthy if entered.


(system) #4

(Rafael dos Santos Silva) #5

This works now, just set allowed hrefs in site settings.


(Rafael dos Santos Silva) #6