mirror of
https://github.com/1f349/go-webdav.git
synced 2024-12-22 16:24:14 +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 nil, err
|
||||||
}
|
}
|
||||||
|
|
||||||
return ms.Get(path)
|
return ms.Get(c.ResolveHref(path).Path)
|
||||||
}
|
}
|
||||||
|
|
||||||
func parseCommaSeparatedSet(values []string, upper bool) map[string]bool {
|
func parseCommaSeparatedSet(values []string, upper bool) map[string]bool {
|
||||||
|
Loading…
Reference in New Issue
Block a user