Try to fix the xml things.
This commit is contained in:
@ -564,7 +564,9 @@ func (this *Handler) handlePropfind(writer http.ResponseWriter, request *http.Re
|
||||
if info.IsDir() {
|
||||
href += "/"
|
||||
}
|
||||
return multiStatusWriter.write(makePropstatResponse(href, propstats))
|
||||
|
||||
propstatResponse := makePropstatResponse(href, propstats)
|
||||
return multiStatusWriter.write(propstatResponse)
|
||||
}
|
||||
|
||||
walkErr := walkFS(ctx, this.FileSystem, depth, reqPath, fileInfo, walkFn)
|
||||
|
@ -16,7 +16,7 @@ import (
|
||||
"strings"
|
||||
"testing"
|
||||
|
||||
ixml "golang.org/x/net/webdav/internal/xml"
|
||||
ixml "tank/rest/dav/internal/xml"
|
||||
)
|
||||
|
||||
func TestReadLockInfo(t *testing.T) {
|
||||
|
Reference in New Issue
Block a user