diff options
author | Conrad Hoffmann <ch@bitfehler.net> | 2022-05-31 16:59:40 +0200 |
---|---|---|
committer | Simon Ser <contact@emersion.fr> | 2022-05-31 17:06:24 +0200 |
commit | 1dfcf61f63211a5ae8c4a283727169aeeef8d5dc (patch) | |
tree | 2eb554174f373ffeb1f31504aac797fedc2e60ac | |
parent | 6f578aa8944cd27b4d5337d20cfb7b5362b926ff (diff) | |
download | alps-1dfcf61f63211a5ae8c4a283727169aeeef8d5dc.tar.gz alps-1dfcf61f63211a5ae8c4a283727169aeeef8d5dc.zip |
Upgrade go-webdav dependency
This commit upgrades go-webdav to what is currently the master branch.
The go-webdav client implementation gained some features with regards to
service discovery that alps can benefit from.
With this change, one can pass e.g. the following upstream URL:
carddav+insecure://example.com/.well-known/carddav
This URL is defined in [RFC 6764, section 6][1]. If the server supports
it, it will respond with a redirect to the currently authenticated
user's principal URL. In the version used so far, the go-webdav client
does not handle this redirect well.
[1]: https://datatracker.ietf.org/doc/html/rfc6764#section-6
See also: https://github.com/emersion/go-webdav/commit/0363312
-rw-r--r-- | go.mod | 2 | ||||
-rw-r--r-- | go.sum | 4 |
2 files changed, 3 insertions, 3 deletions
@@ -15,7 +15,7 @@ require ( github.com/emersion/go-sasl v0.0.0-20211008083017-0b9dcfb154ac github.com/emersion/go-smtp v0.15.0 github.com/emersion/go-vcard v0.0.0-20210521075357-3445b9171995 - github.com/emersion/go-webdav v0.3.1 + github.com/emersion/go-webdav v0.3.2-0.20220531141108-9bc7a8f15b2f github.com/fernet/fernet-go v0.0.0-20211208181803-9f70042a33ee github.com/google/uuid v1.3.0 github.com/kr/pretty v0.1.0 // indirect @@ -37,8 +37,8 @@ github.com/emersion/go-textwrapper v0.0.0-20200911093747-65d896831594/go.mod h1: github.com/emersion/go-vcard v0.0.0-20191221110513-5f81fa0d3cc7/go.mod h1:HMJKR5wlh/ziNp+sHEDV2ltblO4JD2+IdDOWtGcQBTM= github.com/emersion/go-vcard v0.0.0-20210521075357-3445b9171995 h1:DpVfmcoBs6o9VYcccNWbuKFQxuHCgt25/y4q9H8AUvc= github.com/emersion/go-vcard v0.0.0-20210521075357-3445b9171995/go.mod h1:HMJKR5wlh/ziNp+sHEDV2ltblO4JD2+IdDOWtGcQBTM= -github.com/emersion/go-webdav v0.3.1 h1:8ISu6AlBwu7DKg9RQE3iRpE3CPM8Bfpfz7L3bi/xlGI= -github.com/emersion/go-webdav v0.3.1/go.mod h1:uSM1VveeKtogBVWaYccTksToczooJ0rrVGNsgnDsr4Q= +github.com/emersion/go-webdav v0.3.2-0.20220531141108-9bc7a8f15b2f h1:APu8XvhJUn3eU8JJ8LM886uLZXJbEtiisM0mJmD59k8= +github.com/emersion/go-webdav v0.3.2-0.20220531141108-9bc7a8f15b2f/go.mod h1:uSM1VveeKtogBVWaYccTksToczooJ0rrVGNsgnDsr4Q= github.com/fernet/fernet-go v0.0.0-20211208181803-9f70042a33ee h1:v6Eju/FhxsACGNipFEPBZZAzGr1F/jlRQr1qiBw2nEE= github.com/fernet/fernet-go v0.0.0-20211208181803-9f70042a33ee/go.mod h1:2H9hjfbpSMHwY503FclkV/lZTBh2YlOmLLSda12uL8c= github.com/golang-jwt/jwt v3.2.2+incompatible h1:IfV12K8xAKAnZqdXVzCZ+TOjboZ2keLg81eXfW3O+oY= |