diff --git a/chrome/content/zotero/xpcom/file.js b/chrome/content/zotero/xpcom/file.js index 6750c666e0..1884ad2c92 100644 --- a/chrome/content/zotero/xpcom/file.js +++ b/chrome/content/zotero/xpcom/file.js @@ -459,9 +459,8 @@ Zotero.File = new function(){ } var deferred = Zotero.Promise.defer(); - const uri_ = NetUtil.newURI(uri); const inputChannel = NetUtil.newChannel({ - uri: uri_, + uri, loadUsingSystemPrincipal: true }); const outputChannel = FileUtils.openSafeFileOutputStream(new FileUtils.File(path));