mirror of
https://github.com/samsonjs/vdirsyncer.git
synced 2026-03-25 08:55:50 +00:00
dav: Encode generated href
This commit is contained in:
parent
e450baf0f8
commit
1d8c606005
1 changed files with 1 additions and 1 deletions
|
|
@ -326,7 +326,7 @@ class DavStorage(Storage):
|
|||
href = item.ident
|
||||
for char in self.unsafe_href_chars:
|
||||
href = href.replace(char, '_')
|
||||
return self._normalize_href(href + self.fileext)
|
||||
return _encode_href(self._normalize_href(href + self.fileext))
|
||||
|
||||
def _is_item_mimetype(self, mimetype):
|
||||
return _fuzzy_matches_mimetype(self.item_mimetype, mimetype)
|
||||
|
|
|
|||
Loading…
Reference in a new issue