-
Notifications
You must be signed in to change notification settings - Fork 3.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
font-patcher: Sanitize output filenames
[why] The filename is determined by the font (family) name. The font name might include characters that are forbidden to use in filenames. [how] Filter output filesnames and prevent any character that is likely forbidden under Windows. Also prevent control characters. Translate Windows path separators to posix. Fixes: #632 Signed-off-by: Fini Jastrow <[email protected]>
- Loading branch information
Showing
1 changed file
with
21 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters