Skip to content

Commit 543bed6

Browse files
gonzaloszaimen
authored andcommitted
FIX WebDav MacOS failed uploads php-fpm and big files (-36 error)
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 <57393+gonzalo@users.noreply.github.com>
1 parent c8571e5 commit 543bed6

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.htaccess

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@
103103
# - https://docs.cyberduck.io/mountainduck/issues/fastcgi/
104104
# - https://docs.nextcloud.com/server/latest/admin_manual/issues/general_troubleshooting.html#troubleshooting-webdav
105105
<IfModule mod_setenvif.c>
106-
SetEnvIf Transfer-Encoding "chunked" proxy-sendcl=1
106+
SetEnvIfNoCase Transfer-Encoding "chunked" proxy-sendcl=1
107107
</IfModule>
108108

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

0 commit comments

Comments
 (0)