From 2599e6466f706186732db035467a054c3a9fc66b Mon Sep 17 00:00:00 2001 From: "Simon L." Date: Thu, 29 Aug 2024 09:52:08 +0200 Subject: fix: re-enable content-length header via htaccess Signed-off-by: Simon L. --- .htaccess | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to '.htaccess') 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 +# 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 + + SetEnv ap_trust_cgilike_cl + + AddDefaultCharset utf-8 Options -Indexes -- cgit v1.2.3