mirror of
https://github.com/1f349/go-webdav.git
synced 2024-12-22 08:14:15 +00:00
internal: fix Client.PropfindFlat when endpoint has a non-empty path
This commit is contained in:
parent
9afa59dc22
commit
7f285fdf83
@ -125,7 +125,7 @@ func (c *Client) PropfindFlat(path string, propfind *Propfind) (*Response, error
|
||||
return nil, err
|
||||
}
|
||||
|
||||
return ms.Get(path)
|
||||
return ms.Get(c.ResolveHref(path).Path)
|
||||
}
|
||||
|
||||
func parseCommaSeparatedSet(values []string, upper bool) map[string]bool {
|
||||
|
Loading…
Reference in New Issue
Block a user