mirror of
https://github.com/rclone/rclone.git
synced 2025-01-08 23:40:29 +01:00
fstests: add encoding test for URL encoded path name #5768
Add an encoding test to make sure backends can deal with a URL encoded path name. This is a fairly common failing in backends and has been an intermittent problem with onedrive itself.
This commit is contained in:
parent
39e2af7974
commit
f51a5eca2e
@ -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" {
|
||||
|
Loading…
Reference in New Issue
Block a user