don't close input stream when writing in encrypted file#13468
don't close input stream when writing in encrypted file#13468MorrisJobke merged 1 commit intonextcloud:masterfrom
Conversation
Signed-off-by: Florian Schunk <florian.schunk@rwth-aachen.de>
|
cc @icewind1991 |
|
/backport to stable15 |
|
backport to stable15 in #13588 |
|
I do get this: on my Android test 0kb upload, always targeting latest master. |
|
But this was merged over a month ago. There was one change by @rullzer with 0 Byte files in object storages |
|
Ah, I mixed 14.01. with 14.02. |
|
Also in general. commenting on month old merged PRs is a good way to have your additional questions ignored ;) |
|
Hi, I'm using nextcloud server 15.04 and got the same information as @tobiasKaminsky when I upload a 0kb file using Windows Client 2.51final. |
Fixed in #14273 most likely. |
|
This is not fixed in nextcloud 16.0.1 |
Could you open a new ticket for this then? Thanks |
This addresses issue #13276. Since Sabre checks if the end of the stream has been reached, when the created file is empty, closing the stream creates an error in that case.
I also don't see, why it would make sense to close that stream that writeStream gets as an parameter, but please tell me if I am missing something.
Please review @nextcloud/encryption