mirror of
https://github.com/zotero/zotero.git
synced 2026-09-23 00:43:17 +00:00
Fix "Unexpected status code 300 in Zotero.Sync.Storage.getStorageModificationTime()" error (likely due to mod_speling)
This commit is contained in:
parent
3f911faa07
commit
5318b9293b
1 changed files with 2 additions and 1 deletions
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue