You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
create a file called file0.txt with the content Awesome new file.
update the file so the content is now: File.
restore the first version of the file
get the content of the file using webdav
curl -u tu1:tu1 -X GET 'http://core/remote.php/dav/files/tu1/file0.txt'
Exected result
You get the original content of the file Awesome new file
Actual Result
You only get the part of the file Aweso
possible related to #156, The file metadata seems to be not updating while changing the file version.
The request only returns the file as it sends request with Contnent-Length set to the old length of the file.