mirror of
https://github.com/burakgon/OpenScreens.git
synced 2026-12-02 05:39:39 +08:00
A file copied from a Mac is saved under the name the Mac gives it, with slashes replaced first. They were replaced by searching the text for "/", and that search steps over a slash followed by a combining mark: the two are one character, which is not "/". The file system splits the name there all the same, so an item named "../" and an accent was written one folder above the one its download belongs in. The name is now gone through code point by code point, and what counts as "." or ".." is decided on its bytes.