mirror of
https://github.com/samsonjs/vdirsyncer.git
synced 2026-04-27 14:57:41 +00:00
Don't check for href prefix anymore
This doesn't really serve any security purposes at all. Fix #91 Fix #87
This commit is contained in:
parent
667c10ef00
commit
59dd78dfd9
1 changed files with 0 additions and 1 deletions
|
|
@ -294,7 +294,6 @@ class DavStorage(Storage):
|
||||||
if not href:
|
if not href:
|
||||||
raise ValueError(href)
|
raise ValueError(href)
|
||||||
x = utils.urlparse.urljoin(self.session.url, href)
|
x = utils.urlparse.urljoin(self.session.url, href)
|
||||||
assert x.startswith(self.session.url)
|
|
||||||
return utils.compat.urlunquote_plus(utils.urlparse.urlsplit(x).path)
|
return utils.compat.urlunquote_plus(utils.urlparse.urlsplit(x).path)
|
||||||
|
|
||||||
def _get_href(self, item):
|
def _get_href(self, item):
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue