Merge pull request #45040 from nextcloud/backport/45035/stable29

[stable29] fix: chunked upload leading to 0-byte files
This commit is contained in:
Simon L 2024-04-25 20:47:38 +02:00 committed by GitHub
commit d4e95f9f0d
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -102,10 +102,8 @@
# Here are more information about the issue:
# - https://docs.cyberduck.io/mountainduck/issues/fastcgi/
# - https://docs.nextcloud.com/server/latest/admin_manual/issues/general_troubleshooting.html#troubleshooting-webdav
<IfModule setenvif.c>
<Location "/remote.php">
SetEnvIf Transfer-Encoding "chunked" proxy-sendcl=1
</Location>
<IfModule mod_setenvif.c>
SetEnvIf Transfer-Encoding "chunked" proxy-sendcl=1
</IfModule>
AddDefaultCharset utf-8