www

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

commit 5318b9293b593354e3620cd88a689affa167dd78
parent 3f911faa07b067cbb77b207692c622b0d6a4d57a
Author: Dan Stillman <dstillman@zotero.org>
Date:   Fri,  3 Jul 2009 22:51:58 +0000

Fix "Unexpected status code 300 in Zotero.Sync.Storage.getStorageModificationTime()" error (likely due to mod_speling)


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

diff --git a/chrome/content/zotero/xpcom/storage.js b/chrome/content/zotero/xpcom/storage.js @@ -375,7 +375,8 @@ Zotero.Sync.Storage = new function () { Zotero.Utilities.HTTP.doGet(uri, function (req) { var funcName = "Zotero.Sync.Storage.getStorageModificationTime()"; - if (req.status == 404) { + // mod_speling can return 300s for 404s with base name matches + if (req.status == 404 || req.status == 300) { callback(item, false); return; }