zotero / zotero-connectors

Chrome, Firefox, Edge, and Safari extensions for Zotero
https://www.zotero.org/download/connectors
Other
531 stars 124 forks source link

MV3: Proxied URL in item `url` field is not deproxified #495

Closed AbeJellinek closed 3 months ago

AbeJellinek commented 3 months ago

This issue was originally reported as https://github.com/zotero/translators/issues/3347, but it seems to be a general MV3 issue. When accessed through a proxy, the page that @owcz linked (https://www-jstor-org.i.ezproxy.nypl.org/stable/1823178) returns this RIS:

Provider: JSTOR http://www.jstor.org
Database: JSTOR
Content: text/plain; charset="us-ascii"

TY  - JOUR
A2  - Adamic, Louis
AU  - Witte, Edwin E.
C1  - Full publication date: Dec., 1931
DB  - JSTOR
EP  - 828
IS  - 6
PB  - University of Chicago Press
PY  - 1931
RI  - Dynamite: The Story of Class Violence in America, Louis Adamic
SN  - 00223808, 1537534X
SP  - 826
T2  - Journal of Political Economy
TI  - 
UR  - http://www.jstor.org.i.ezproxy.nypl.org/stable/1823178
VL  - 39
Y2  - 2024/07/30/
ER  - 

That proxied URL goes into item.url, and the MV3 translation framework doesn't deproxify it, resulting in a proxied URL on the Zotero item.

The same page saved from the Firefox connector has an unproxied URL. (JSTOR serves Firefox the same RIS.)

adomasven commented 3 months ago

Could you provide a Debug ID from Firefox and Chrome?

AbeJellinek commented 3 months ago

Firefox: D561474164 (connector), D292406330 (client) Chrome: D996030169 (connector), D212648439 (client)