summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSimon L. <szaimen@e.mail.de>2024-04-25 16:29:38 +0200
committerbackportbot[bot] <backportbot[bot]@users.noreply.github.com>2024-04-25 15:25:37 +0000
commit404b3e72638694e5ebebd32d4d70d9025f7b2386 (patch)
tree6689ad7079ed73a9b0d8b9adc7c263c7e15eec56
parenta1dda4117e7e50b85f1bb90f438057459df60a30 (diff)
fix: chunked upload leading to 0-byte files
Signed-off-by: Simon L <szaimen@e.mail.de>
-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