mirror of
https://github.com/samsonjs/vdirsyncer.git
synced 2026-04-09 11:26:00 +00:00
Strip trailing slash from .well-known-URIs to fix autodiscovery
According to RFC6764 URLs should be "/.well-known/caldav" and "/.well-known/caldav".
This commit is contained in:
parent
1087afeaa8
commit
2747bee9a6
1 changed files with 2 additions and 2 deletions
|
|
@ -281,7 +281,7 @@ class CalDiscover(Discover):
|
|||
</d:propfind>
|
||||
"""
|
||||
_homeset_tag = '{%s}calendar-home-set' % _namespace
|
||||
_well_known_uri = '/.well-known/caldav/'
|
||||
_well_known_uri = '/.well-known/caldav'
|
||||
|
||||
|
||||
class CardDiscover(Discover):
|
||||
|
|
@ -295,7 +295,7 @@ class CardDiscover(Discover):
|
|||
</d:propfind>
|
||||
"""
|
||||
_homeset_tag = '{%s}addressbook-home-set' % _namespace
|
||||
_well_known_uri = '/.well-known/carddav/'
|
||||
_well_known_uri = '/.well-known/carddav'
|
||||
|
||||
|
||||
class DavSession(object):
|
||||
|
|
|
|||
Loading…
Reference in a new issue