]> source.dussan.org Git - nextcloud-server.git/commit
Return hashes of uploaded content for dav uploads
authorRobin Appelman <robin@icewind.nl>
Fri, 7 Feb 2020 13:22:12 +0000 (14:22 +0100)
committerRoeland Jago Douma <roeland@famdouma.nl>
Mon, 13 Apr 2020 10:57:27 +0000 (12:57 +0200)
commitc2677682c4a3886f8316bfae120dc1b2fbde39ac
tree88297af92e4416fbb197f255f58bf229ab527cf1
parent6187cea3044a2d3406f1d89c04d00ad5a299932e
Return hashes of uploaded content for dav uploads

hashes are set in "X-Hash-MD5", "X-Hash-SHA1" and "X-Hash-SHA256" headers.

these headers are set for file uploads and the MOVE request at the end of a multipart upload.

Signed-off-by: Robin Appelman <robin@icewind.nl>
apps/dav/lib/Connector/Sabre/File.php
lib/composer/composer/autoload_classmap.php
lib/composer/composer/autoload_static.php
lib/private/Files/Stream/HashWrapper.php [new file with mode: 0644]
tests/lib/Files/Stream/HashWrapperTest.php [new file with mode: 0644]