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

This commit is contained in:
Dan Stillman 2009-07-03 22:51:58 +00:00
parent 3f911faa07
commit 5318b9293b

View file

@ -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;
}