From 41072463358c36002bffa948365740ec372ea7a3 Mon Sep 17 00:00:00 2001 From: Nick Craig-Wood Date: Sat, 5 Jul 2025 21:27:10 +0100 Subject: [PATCH] seafile: fix integration test errors by adding dot to encoding The seafile backend used to be able to cope with files called "." and ".." but at some point became unable to do so, causing integration test failurs. This adds EncodeDot to the encoding which encodes "." and ".." names. --- backend/seafile/seafile.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/backend/seafile/seafile.go b/backend/seafile/seafile.go index 918b57b95..1151def5f 100644 --- a/backend/seafile/seafile.go +++ b/backend/seafile/seafile.go @@ -111,7 +111,8 @@ func init() { encoder.EncodeSlash | encoder.EncodeBackSlash | encoder.EncodeDoubleQuote | - encoder.EncodeInvalidUtf8), + encoder.EncodeInvalidUtf8 | + encoder.EncodeDot), }}, }) }