aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSimon L. <szaimen@e.mail.de>2024-08-30 10:51:45 +0200
committerGitHub <noreply@github.com>2024-08-30 10:51:45 +0200
commit74bca6cff8bed1cece1e7ec01626c44cde80fff5 (patch)
tree7810ca1d9ff8c5c68dd0077eb64732d8257cda49
parentb678e139be87d8b0780fdd268663ab6d0d0e4009 (diff)
parent2664fcfe60c8c2ad512f668898bfab58b24e2ffb (diff)
downloadnextcloud-server-74bca6cff8bed1cece1e7ec01626c44cde80fff5.tar.gz
nextcloud-server-74bca6cff8bed1cece1e7ec01626c44cde80fff5.zip
Merge pull request #47622 from nextcloud/backport/47598/stable28
[stable28] fix: re-enable content-length header via htaccess
-rw-r--r--.htaccess8
1 files changed, 8 insertions, 0 deletions
diff --git a/.htaccess b/.htaccess
index f6474c8dbca..557844974a4 100644
--- a/.htaccess
+++ b/.htaccess
@@ -106,5 +106,13 @@
SetEnvIf Transfer-Encoding "chunked" proxy-sendcl=1
</IfModule>
+# Apache disabled the sending of the server-side content-length header
+# in their 2.4.59 patch updated which breaks some use-cases in Nextcloud.
+# Setting ap_trust_cgilike_cl allows to bring back the usual behaviour.
+# See https://bz.apache.org/bugzilla/show_bug.cgi?id=68973
+<IfModule mod_env.c>
+ SetEnv ap_trust_cgilike_cl
+</IfModule>
+
AddDefaultCharset utf-8
Options -Indexes