[5.0 beta] Add link to URI is now filtered, maybe whitelist could be customizable

In zotero 4, it worked for me to add links to org-mode notes in Emacs (with the org-protocol protocol, like this: org-protocol://link?link=id:37f7c349-286b-4285-91e0-9dd64ba4a1e8)

In the 5.0 beta, added URIs are filtered and adding these URIs fails silently:
(Seems to be done here: https://github.com/zotero/zotero/blob/master/chrome/content/zotero/xpcom/attachments.js#L448)

All this was done years ago apparently (https://github.com/zotero/zotero/pull/313).

Could there be a way to expose this as an advanced config option? The feature was really useful for me, and as no one wants to maintain a whitelist for all edge cases, it would really help me to be able to do it myself (instead of patching the code for every update).

More of the old discussions:
https://forums.zotero.org/discussion/8188/attachment-add-link-to-any-url-not-current-page
Sign In or Register to comment.