Merge pull request #47598 from nextcloud/enh/47017/re-enable-content-length-header

fix: re-enable content-length header via htaccess
pull/47600/head
Stephan Orbaugh 1 year ago committed by GitHub
commit 6e4e9cf6bd
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 8
      .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

Loading…
Cancel
Save