mirror of
https://github.com/zotero/zotero.git
synced 2026-10-08 03:08:19 +00:00
when a URL is accessed through an EZProxy, access any associated files through the EZProxy as well (if possible)
This commit is contained in:
parent
df91887d52
commit
9aa5e53928
1 changed files with 4 additions and 0 deletions
|
|
@ -1286,6 +1286,10 @@ Zotero.Translate.prototype._itemDone = function(item, attachedTo) {
|
|||
title = attachment.document.title;
|
||||
}
|
||||
|
||||
if(this.locationIsProxied) {
|
||||
attachment.url = Zotero.Ingester.ProxyMonitor.properToProxy(attachment.url);
|
||||
}
|
||||
|
||||
Zotero.Attachments.importFromURL(attachment.url, myID, title);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue