Skip to content

Commit 55032fe

Browse files
committed
Improve path handling for Python >= 3.6
Prevents a crash when unicode strings created from non-pure utf-8 text with 'surrogateescape' error handling are used as paths for the fuse file system (e.g. latin-1 encoded file names). Fix accessing paths with arbitrary but allowed bytes (e.g. latin-1 encoded file names) which do not encode utf-8 characters.
1 parent 6f0921a commit 55032fe

1 file changed

Lines changed: 185 additions & 19 deletions

File tree

0 commit comments

Comments
 (0)