summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSimon L <szaimen@e.mail.de>2024-04-25 20:48:46 +0200
committerGitHub <noreply@github.com>2024-04-25 20:48:46 +0200
commitf6bdfeb38bb618aeef6ea95510720e24171a72c3 (patch)
tree6689ad7079ed73a9b0d8b9adc7c263c7e15eec56
parenta1dda4117e7e50b85f1bb90f438057459df60a30 (diff)
parent404b3e72638694e5ebebd32d4d70d9025f7b2386 (diff)
Merge pull request #45038 from nextcloud/backport/45035/stable27
[stable27] fix: chunked upload leading to 0-byte files
-rw-r--r--.htaccess6
1 files changed, 2 insertions, 4 deletions
diff --git a/.htaccess b/.htaccess
index 102b11236be..f6474c8dbca 100644
--- a/.htaccess
+++ b/.htaccess
@@ -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