Normalise path names for OSX local filesystem

Fixes #194 Fixes #451 Fixes #463
This commit is contained in:
Nick Craig-Wood
2016-05-01 13:13:20 +01:00
committed by Nick Craig-Wood
parent 1752ee3c8b
commit 7c01bbddf8
3 changed files with 21 additions and 0 deletions
+1
View File
@@ -100,6 +100,7 @@ func (f *Fs) String() string {
// newFsObject makes a half completed Object
func (f *Fs) newFsObject(remote string) *Object {
remote = normString(remote)
remote = filepath.ToSlash(remote)
dstPath := f.filterPath(filepath.Join(f.root, f.cleanUtf8(remote)))
return &Object{