Hello Collaborators,
During testing current version of gowebdav/cmd I notice that uploaded file has incorrect content if function getStream() can not find required file to open.
Software
OS: Windows
Golang: go version go1.11.4 windows/amd64
Version: current version of gowebdav/cmd
To Reproduce
call gowebdav.exe with args: -X PUT /webdav_folder/file.txt
ExpectedFile not found error returned
Actual
Application uploads file with it's path as content
Hello Collaborators, During testing current version of
gowebdav/cmd
I notice that uploaded file has incorrect content if functiongetStream()
can not find required file to open.Software
gowebdav/cmd
To Reproduce
gowebdav.exe
with args:-X PUT /webdav_folder/file.txt
Expected
File not found
error returnedActual Application uploads file with it's path as content