From 091c5c279c01453fc00173ba67f541ab5e7f45e2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Adomas=20Ven=C4=8Dkauskas?= Date: Wed, 9 Nov 2016 11:57:11 +0200 Subject: [PATCH] Pass the import url over to the standalone on /connector/saveItems. Should address some issues related to translating via a proxy like this one https://forums.zotero.org/discussion/63057/zotero-not-downloading-pdfs Addresses zotero/zotero-connectors#3 --- chrome/content/zotero/xpcom/connector/connector.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/chrome/content/zotero/xpcom/connector/connector.js b/chrome/content/zotero/xpcom/connector/connector.js index 2c2827bd52..f4ea8bcea4 100644 --- a/chrome/content/zotero/xpcom/connector/connector.js +++ b/chrome/content/zotero/xpcom/connector/connector.js @@ -256,6 +256,9 @@ Zotero.Connector = new function() { data.detailedCookies = cookieHeader.substr(1); } + // Cookie URI needed to set up the cookie sandbox on standalone + data.uri = tab.url; + self.callMethod("saveItems", data, callback, tab); }); return;