Zotero 8 parses `zotero:` URLs differently than Zotero 7

60 views
Skip to first unread message

David Hoff-Vanoni

unread,
Aug 5, 2025, 2:58:54 AMAug 5
to zotero-dev
Hi folks,

I wanted to share a change in behavior I discovered while testing my plugin in Zotero 8 beta, which I hadn't seen documented yet. I found that Zotero 8 beta parses `zotero:` URLs differently than Zotero 7 and 7.1 beta.

I specifically encountered this behavior with protocol extension URLs (i.e. `zotero://...`) and found that Z8 extracts the `host` part of the URL where Z7 does not. Using the `http:` protocol instead of `zotero:` results in the same behavior between Z7 and Z8. See attached screenshot for examples.

I'm fuzzy on the URL spec and don't know which behavior is more "correct," but I wanted to share here so folks are aware—especially those of you who are working with protocol extensions.

CleanShot 2025-08-04 at 23.45.19@2x.png

Abe Jellinek

unread,
Aug 5, 2025, 8:45:25 AMAug 5
to zoter...@googlegroups.com
Thanks, we documented this in a commit message but I forgot to add it to the wiki page. Will do that.

On Aug 5, 2025, at 2:58 AM, David Hoff-Vanoni <da...@vanoni.dev> wrote:

Hi folks,

I wanted to share a change in behavior I discovered while testing my plugin in Zotero 8 beta, which I hadn't seen documented yet. I found that Zotero 8 beta parses `zotero:` URLs differently than Zotero 7 and 7.1 beta.

I specifically encountered this behavior with protocol extension URLs (i.e. `zotero://...`) and found that Z8 extracts the `host` part of the URL where Z7 does not. Using the `http:` protocol instead of `zotero:` results in the same behavior between Z7 and Z8. See attached screenshot for examples.

I'm fuzzy on the URL spec and don't know which behavior is more "correct," but I wanted to share here so folks are aware—especially those of you who are working with protocol extensions.

<CleanShot 2025-08-04 at 23.4...@2x.png>

--
You received this message because you are subscribed to the Google Groups "zotero-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to zotero-dev+...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/zotero-dev/576ab9fa-adf9-4664-8c47-bc2c429d25d0n%40googlegroups.com.
<CleanShot 2025-08-04 at 23.4...@2x.png>
Reply all
Reply to author
Forward
0 new messages