Use 'iskey' rather than 'key' for query string parameter to avoid conflict with API key

This commit is contained in:
Dan Stillman 2009-12-13 03:59:15 +00:00
parent 92c6874475
commit af3ef422a3

View file

@ -900,7 +900,7 @@ Zotero.Sync.Storage.Session.ZFS.prototype.purgeDeletedStorageFiles = function (c
*/
Zotero.Sync.Storage.Session.ZFS.prototype._getItemURI = function (item) {
var uri = this.rootURI;
uri.spec += Zotero.URI.getItemPath(item) + '/file?auth=1&key=1';
uri.spec += Zotero.URI.getItemPath(item) + '/file?auth=1&iskey=1';
return uri;
}