Normalise path names for OSX local filesystem
Fixes #194 Fixes #451 Fixes #463
This commit is contained in:
committed by
Nick Craig-Wood
parent
1752ee3c8b
commit
7c01bbddf8
@@ -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{
|
||||
|
||||
Reference in New Issue
Block a user