x/net/webdav: Wrong name0 passed to Confirm() with Handler prefix. #15967
Labels
FrozenDueToAge
NeedsInvestigation
Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.
Milestone
Please answer these questions before submitting your issue. Thanks!
go version
)?go1.7beta1 and go1.6
go env
)?linux amd64
Install davfs and
sudo mount -t davfs 'http://127.0.0.1/some/path/prefix/theresource' /tmp/dav
Run the http server with the webdav handler:
Touch a file.
Success!
The PUT request had a "webdav: locked" error.
When printing the inside the following function found in lock.go int he webdav package:
name is "/some/path/prefix/theresource" while n.details.Root is "/theresource" :(
Problem seems to be here https://github.com/golang/net/blob/master/webdav/webdav.go#L151
I have verified that if you put the following instead of line 151:
it solves the issue in my case.
The text was updated successfully, but these errors were encountered: