diff --git a/chrome/content/zotero/xpcom/storage.js b/chrome/content/zotero/xpcom/storage.js index 99562b8bc..af4b429bc 100644 --- a/chrome/content/zotero/xpcom/storage.js +++ b/chrome/content/zotero/xpcom/storage.js @@ -2559,12 +2559,19 @@ Zotero.Sync.Storage.StreamListener.prototype = { // nsIChannelEventSink onChannelRedirect: function (oldChannel, newChannel, flags) { - Zotero.debug('onRedirect'); + Zotero.debug('onChannelRedirect'); // if redirecting, store the new channel this._channel = newChannel; }, + asyncOnChannelRedirect: function (oldChan, newChan, flags, redirectCallback) { + Zotero.debug('asyncOnRedirect'); + + this.onChannelRedirect(oldChan, newChan, flags); + redirectCallback.onRedirectVerifyCallback(0); + }, + // nsIHttpEventSink onRedirect: function (oldChannel, newChannel) { Zotero.debug('onRedirect');