Skip to content

Commit

Permalink
Fix a wrong cookieSandbox condition for /connector/saveSnapshot
Browse files Browse the repository at this point in the history
  • Loading branch information
adomasven committed Aug 2, 2017
1 parent 03f8c5f commit 492293e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions chrome/content/zotero/xpcom/server_connector.js
Expand Up @@ -490,10 +490,10 @@ Zotero.Server.Connector.SaveSnapshot.prototype = {
filesEditable = true;
}

var cookieSandbox = data.uri
var cookieSandbox = data.url
? new Zotero.CookieSandbox(
null,
data.uri,
data.url,
data.detailedCookies ? "" : data.cookie || "",
options.headers["User-Agent"]
)
Expand Down

0 comments on commit 492293e

Please sign in to comment.