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
1 changed files with 1 additions and 0 deletions
|
@ -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 a new issue