Skip to content

"rsync for cloud storage" - Google Drive, S3, Dropbox, Backblaze B2, One Drive, Swift, Hubic, Wasabi, Google Cloud Storage, Azure Blob, Azure Files, Yandex Files

fstests: add encoding test for URL encoded path name #5768

Nick Craig-Woodf51a5eca2edd
diff --git a/fstest/fstests/fstests.go b/fstest/fstests/fstests.go
index 553d99eb0..34abfd815 100644
--- a/fstest/fstests/fstests.go
+++ b/fstest/fstests/fstests.go
@@ -658,6 +658,7 @@ func Run(t *testing.T, opt *Opt) {
{"trailing VT", "trailing VT\v"},
{"trailing dot", "trailing dot."},
{"invalid UTF-8", "invalid utf-8\xfe"},
+ {"URL encoding", "test%46.txt"},
} {
t.Run(test.name, func(t *testing.T) {
if opt.SkipInvalidUTF8 && test.name == "invalid UTF-8" {