Content
View differences
Updated by Parimal Satyal about 1 year ago
**As** a User/Admin/everybody
**I want to** use the link to local URLs, application URLs, other other non-http(s) URLs that the browser supports
**so that** we can use it with existing DMS, and other local applications
**Examples:**
* Application URL schemes:
* vis://FE0E3D1D-9DC5-4931-BF6C-9E01216047A4/3/8326584
* dict://term lookup
* vscode://file/path/to/file
* • figma://
* element://vector/webapp/#/room/!ID
* tel://number
* sms://number
* facetime://number
<br>
**Acceptance criteria**
* Under Administration → System settings → General, add Add a new setting above 'Welcome block text':
* Label: "Allowed link protocols"
under the System settings > General (I'm not aware of a better place)
* Type: Text area input, one protocol per line, similar to the attachment whitelist
* Caption: Description: "Allow these protocols to be rendered as used in links in work package descriptions, long text fields and comments. For example, tel: or element:". input through the WYSIWYG editor.".
* When not empty, use this allowlist when:
* Rendering Markdown markdown in the backend
* Loading CKEditor, so that it uses that allowlist for new links
<br>
**Out of scope**
* Provide working links to `file://` local links, which all modern browsers block. The configuration will allow to whitelist them, but will be able to provide a working link
**I want to** use the link to local URLs, application URLs, other other non-http(s) URLs that the browser supports
**so that** we can use it with existing DMS, and other local applications
**Examples:**
* Application URL schemes:
* vis://FE0E3D1D-9DC5-4931-BF6C-9E01216047A4/3/8326584
* dict://term lookup
* vscode://file/path/to/file
* • figma://
* element://vector/webapp/#/room/!ID
* tel://number
* sms://number
* facetime://number
<br>
**Acceptance criteria**
* Under Administration → System settings → General, add
* Label: "Allowed link protocols"
* Caption:
* When not empty, use this allowlist when:
* Rendering Markdown
* Loading CKEditor, so that it uses that allowlist for new links
* Provide working links to `file://` local links, which all modern browsers block. The configuration will allow to whitelist them, but will be able to provide a working link