]> git.p6c8.net - jirafeau.git/commit
Store filesize before encrypting the file
authorPatrick Canterino <patrick@patrick-canterino.de>
Sun, 10 Nov 2024 13:03:40 +0000 (14:03 +0100)
committerPatrick Canterino <patrick@patrick-canterino.de>
Sun, 10 Nov 2024 13:03:40 +0000 (14:03 +0100)
commit37a47dbd255874bcdfc14f2e7a5dc1461ddd145e
tree7fce2a556457136f93a9623735317b20aec93cde
parent1ff37f5b15ca71640bd4b40c9261ce4cb1b12f72
Store filesize before encrypting the file

This currently applies only for async uploads.

Otherwise we would send the size of the encrypted file and the data of the unencrypted file.
The encrypted file is usually larger than the unencrypted one. So the browser expects more
data and aborts the download because it thinks it didn't receive all the data.
lib/functions.php

patrick-canterino.de