aboutsummaryrefslogtreecommitdiffstats
path: root/.htaccess
diff options
context:
space:
mode:
authorSimon L. <szaimen@e.mail.de>2024-08-29 09:52:08 +0200
committerSimon L. <szaimen@e.mail.de>2024-08-29 11:50:55 +0200
commit3739fb7a80c1951ff83456f099831aa9eb8c7b53 (patch)
treee0acfbf8b0657eb2be3532963af24db348a8ec7c /.htaccess
parent23efda911126a60c9af0198a7c842c726a8a4213 (diff)
downloadnextcloud-server-3739fb7a80c1951ff83456f099831aa9eb8c7b53.tar.gz
nextcloud-server-3739fb7a80c1951ff83456f099831aa9eb8c7b53.zip
fix: re-enable content-length header via htaccess
Signed-off-by: Simon L. <szaimen@e.mail.de>
Diffstat (limited to '.htaccess')
-rw-r--r--.htaccess8
1 files changed, 8 insertions, 0 deletions
diff --git a/.htaccess b/.htaccess
index 76573880c0b..f9908fe0b69 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