Skip to content

Commit

Permalink
FIX WebDav MacOS failed uploads php-fpm and big files (-36 error)
Browse files Browse the repository at this point in the history
Current "SetEnvIf Transfer-Encoding "chunked" proxy-sendcl=1" setting fails with Macos Webdav Darwin client beacuse the header has a capital letter -> "Chunked" So you can fix it making condition case insensitive.
Extended description and tests results on #48878

Signed-off-by: Gonzalo Cao Cabeza de Vaca <[email protected]>
  • Loading branch information
gonzalo authored and backportbot[bot] committed Nov 29, 2024
1 parent f1d2fb2 commit e825c94
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .htaccess
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@
# - https://docs.cyberduck.io/mountainduck/issues/fastcgi/
# - https://docs.nextcloud.com/server/latest/admin_manual/issues/general_troubleshooting.html#troubleshooting-webdav
<IfModule mod_setenvif.c>
SetEnvIf Transfer-Encoding "chunked" proxy-sendcl=1
SetEnvIfNoCase Transfer-Encoding "chunked" proxy-sendcl=1
</IfModule>

# Apache disabled the sending of the server-side content-length header
Expand Down

0 comments on commit e825c94

Please sign in to comment.