mirror of
https://github.com/zotero/zotero.git
synced 2026-10-16 04:28:45 +00:00
Handle URL-encoded 'href' values in PROPFIND request
This commit is contained in:
parent
ebef88143f
commit
20029be8bd
1 changed files with 4 additions and 1 deletions
|
|
@ -429,7 +429,10 @@ Zotero.Sync.Storage = new function () {
|
|||
}
|
||||
// Relative
|
||||
else if (href.firstChild.nodeValue != uri.path) {
|
||||
_error("DAV:href does not match path in " + funcName);
|
||||
// Try URL-encoded as well
|
||||
if (decodeURIComponent(href.firstChild.nodeValue) != uri.path) {
|
||||
_error("DAV:href does not match path in " + funcName);
|
||||
}
|
||||
}
|
||||
|
||||
var modified = response.getElementsByTagNameNS(dcterms, "modified").item(0);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue