Skip to content

Feature: Allow zotero:// as valid protocol#4

Open
julkusapiens wants to merge 23 commits intozotero:masterfrom
julkusapiens:zotero-as-valid-protocol
Open

Feature: Allow zotero:// as valid protocol#4
julkusapiens wants to merge 23 commits intozotero:masterfrom
julkusapiens:zotero-as-valid-protocol

Conversation

@julkusapiens
Copy link
Copy Markdown

This PR allows the zotero:// protocol to be treated as valid in the PDF viewer.

Without this change, links using the Zotero protocol are not clickable,
even though Zotero registers and uses this scheme intentionally.

Firefox's pdf.js tries to prevent XSS by limiting the allowed protocols.
Zotero accepting its own protocol is only logical.

This is a minimal one-line change and does not affect existing
protocol handling.

mrtcode and others added 23 commits August 6, 2025 14:08
(cherry picked from commit f2ad361)
(cherry picked from commit a15335f)
(cherry picked from commit e268317)
(cherry picked from commit 03a4a3f)
(cherry picked from commit 444f950)
(cherry picked from commit ffc7226)
(cherry picked from commit 2a2c8a1)
(cherry picked from commit beb5a70)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants