]> source.dussan.org Git - nextcloud-server.git/commitdiff
fix: re-enable content-length header via htaccess 47622/head
authorSimon L. <szaimen@e.mail.de>
Thu, 29 Aug 2024 07:52:08 +0000 (09:52 +0200)
committerbackportbot[bot] <backportbot[bot]@users.noreply.github.com>
Fri, 30 Aug 2024 07:54:02 +0000 (07:54 +0000)
Signed-off-by: Simon L. <szaimen@e.mail.de>
.htaccess

index f6474c8dbca6a9e3b55a95b28a3c436cec86f7b9..557844974a48120e941dd0a842377adc1c4189ae 100644 (file)
--- a/.htaccess
+++ b/.htaccess
   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