webdav: properly URL-encode hrefs in PROPFIND response
This commit is contained in:
@@ -153,5 +153,6 @@ func (b *backend) propfindFile(propfind *internal.Propfind, name string, fi os.F
|
||||
// TODO: getetag
|
||||
}
|
||||
|
||||
return internal.NewPropfindResponse(name, propfind, props)
|
||||
href := url.URL{Path: name}.String()
|
||||
return internal.NewPropfindResponse(href, propfind, props)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user