Add a link with other target then http or https
Asked by Ray Schmidt:

I would like to add a Link to our Document Management System.

The link looks like: elodms://(A-Long_GUID)

I can insert the link in the edit mode, but after saving the document the link is gone. If i edit the link again later the target of the link is not visible in the edit field.

Thanks for Support

Ray


Answers:
author: Ray Schmidt
body: I made the update to 6.2.4 but i can not store a Link with target elodms://(GUID).

Is there a configuration option to allow special protocols?

Thanks  
Ray

comments: author: AnnWorley
body: Hi Ray,

Thanks for commenting on the bug linked by Gojko.

There isn't a configuration option exactly, but this bug report does have a workaround that entails adding the allowed protocols to a Confluence .jar file:

[Expand external links security filtering to allow digits, plus, hyphen and periods in protocol](https://jira.atlassian.com/browse/CONFSERVER-28103)

I look forward to hearing whether this works for you. Please try it on a test instance first, to avoid surprises in Production.

Thanks,  
Ann


author: Ray Schmidt
body: Hi Ann,

i tried the changes. After adding elodms: to the offsiteURL als explained unter [https://jira.atlassian.com/browse/CONFSERVER-28103](https://jira.atlassian.com/browse/CONFSERVER-28103 "Expand external links security filtering to allow digits, plus, hyphen and periods in protocol") i could use the links in my pages.

I have **Collaborative Editing Off**and did not change this configuration.

Is it possible to get the entry "elodms:" in the default list.

ELO is a Enterprise Content Management from [ELO Digital Office GmbH](https://www.elo.com/ "ELO Digital Office GmbH") in Germany and also used world wide.

Thanks for your support.

Ray


author: AnnWorley
body: I am thrilled to hear the workaround allowed you to use the protocol you need for links. I did comment on the bug to request that elodms be included in the default list so you won't have to update the .jar file every time you upgrade Confluence.


author: Ray Schmidt
body: Hi Ann,

thanks. I hope one of the next Releases will contain the new protocol elodms://.

Thanks

Ray


author: Ray Schmidt
body: Hi Ann,

do you know if elodms:// is included in the newest version?

Thanks

Ray


author: AnnWorley
body: It isn't - the bug is still open: [Expand external links security filtering to allow digits, plus, hyphen and periods in protocol](https://jira.atlassian.com/browse/CONFSERVER-28103) If you upgrade you will need to modify the .jar file again in the new install directory.


author: Ray Schmidt
body: Hi Ann,

is it possible to make this an configurable option in the software and then everyone can add his own needed protocol.

Thanks

Ray


author: g
body: You might be hitting the bug with older versions of Confluence which prevented the creation of network or local links, as per [CONFSERVER-46039](https://jira.atlassian.com/browse/CONFSERVER-46039). From version 6.2.2 this issue has been fixed. I have tested your case locally with 6.2.2 and it is working as expected.

If you can, my recommendation would be to upgrade the instance if you are running below 6.2.2

Cheers!

comments: author: Ray Schmidt
body: Ok. I try to make the Update. I have the Version 6.2.0 now.


author: Yilin
body: You might need to check the storage format and check how the page data is, it might give you some hints what is going on.