vendor: update golang.org/x/net/webdav - fixes #3002

This fixes duplicacy working with rclone serve webdav
This commit is contained in:
Nick Craig-Wood
2019-06-07 11:54:57 +01:00
parent fb1bbecb41
commit b7800e96d7
156 changed files with 8847 additions and 2268 deletions
+1 -1
View File
@@ -557,7 +557,7 @@ func (h *Handler) handlePropfind(w http.ResponseWriter, r *http.Request) (status
return err
}
href := path.Join(h.Prefix, reqPath)
if info.IsDir() {
if href != "/" && info.IsDir() {
href += "/"
}
return mw.write(makePropstatResponse(href, pstats))