diff --git a/chrome/content/zotero/xpcom/storage.js b/chrome/content/zotero/xpcom/storage.js index 8495bf66b..652c7eb6e 100644 --- a/chrome/content/zotero/xpcom/storage.js +++ b/chrome/content/zotero/xpcom/storage.js @@ -429,7 +429,8 @@ Zotero.Sync.Storage = new function () { } // Relative else if (href.firstChild.nodeValue != uri.path) { - // Try URL-encoded as well + // Try URL-encoded as well, in case there's a '~' or similar + // character in the URL and the server is encoding the value if (decodeURIComponent(href.firstChild.nodeValue) != uri.path) { _error("DAV:href does not match path in " + funcName); }