From 43e1c5c123fa9a2303d51c20bebe8ff8b1327c3e Mon Sep 17 00:00:00 2001 From: Simon Kornblith Date: Tue, 30 Jun 2015 19:19:57 -0400 Subject: [PATCH] Fix setCookiesThenSaveItems in Firefox connector --- chrome/content/zotero/xpcom/connector/connector.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/chrome/content/zotero/xpcom/connector/connector.js b/chrome/content/zotero/xpcom/connector/connector.js index 0ea7301e6e..d412047ab9 100644 --- a/chrome/content/zotero/xpcom/connector/connector.js +++ b/chrome/content/zotero/xpcom/connector/connector.js @@ -222,7 +222,7 @@ Zotero.Connector = new function() { */ this.setCookiesThenSaveItems = function(data, callback, tab) { if(Zotero.isFx && !Zotero.isBookmarklet && data.uri) { - var host = Services.ios.newURI(data.uri, null, null).host; + var host = Services.io.newURI(data.uri, null, null).host; var cookieEnum = Services.cookies.getCookiesFromHost(host); var cookieHeader = ''; while(cookieEnum.hasMoreElements()) {