mirror of
https://github.com/samsonjs/vdirsyncer.git
synced 2026-03-25 08:55:50 +00:00
Invalid hrefs technically don't exist
This commit is contained in:
parent
772f745832
commit
a0760ca171
1 changed files with 2 additions and 0 deletions
|
|
@ -303,6 +303,8 @@ class DavStorage(Storage):
|
|||
def get_multi(self, hrefs):
|
||||
href_xml = []
|
||||
for href in uniq(hrefs):
|
||||
if href != self._normalize_href(href):
|
||||
raise exceptions.NotFoundError(href)
|
||||
href_xml.append('<D:href>{}</D:href>'.format(href))
|
||||
if not href_xml:
|
||||
return ()
|
||||
|
|
|
|||
Loading…
Reference in a new issue