From 1dfcf61f63211a5ae8c4a283727169aeeef8d5dc Mon Sep 17 00:00:00 2001 From: Conrad Hoffmann Date: Tue, 31 May 2022 16:59:40 +0200 Subject: [PATCH] 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 --- go.mod | 2 +- go.sum | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/go.mod b/go.mod index a5fd41b..ae09134 100644 --- a/go.mod +++ b/go.mod @@ -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 diff --git a/go.sum b/go.sum index 0711117..3b92283 100644 --- a/go.sum +++ b/go.sum @@ -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=