www

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | Submodules | README | LICENSE

commit 7f12d2c095634fd54689d74081211a7da6f37225
parent 16d595ca6734c2999b29ce56c3dd72995c32d03e
Author: Dan Stillman <dstillman@zotero.org>
Date:   Tue, 28 Sep 2010 19:14:52 +0000

Trim Amazon XML response as possible fix to a user's error


Diffstat:
Mchrome/content/zotero/xpcom/storage/zfs.js | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/chrome/content/zotero/xpcom/storage/zfs.js b/chrome/content/zotero/xpcom/storage/zfs.js @@ -571,7 +571,7 @@ Zotero.Sync.Storage.Session.ZFS.prototype._getFileUploadParameters = function (i try { // Strip XML declaration and convert to E4X - var xml = new XML(req.responseText.replace(/<\?xml.*\?>/, '')); + var xml = new XML(Zotero.Utilities.prototype.trim(req.responseText.replace(/<\?xml.*\?>/, ''))); } catch (e) { self.onError("Invalid response retrieving file upload parameters");