mirror of
https://github.com/zotero/zotero.git
synced 2026-10-23 05:33:45 +00:00
Proxy.toProper() normalizes non-matching URLs through new URL().href, which appends a trailing slash to bare host URLs (https://example.com -> https://example.com/). Since the duplicate lookup matches stored URLs by exact equality, a translator-supplied canonical URL that does not actually match the proxy scheme would be looked up under the normalized form and silently miss the existing item. Only call toProper() when the proxy regexp actually matches the URL; otherwise keep the URL as the translator supplied it. |
||
|---|---|---|
| .. | ||
| content | ||
| locale | ||
| skin/default/zotero | ||