Closed octylFractal closed 9 months ago
Hey, thanks for the patch!
Yeah, looking at it the lack of sanitization on fields for potential path problems (windows or non-windows) is a problem. As is platform inconsistency. This patch is a good start on that.
Thanks again, effort is always appreciated.
Backslashes are also replaced for windows
It may also be nice to offer an option to do the windows replacements on all platforms, to make files more cross-platform safe. I didn't do this to keep the changeset small.
For an example of what this fixes, https://lenichkirya.bandcamp.com/track/asgore-w-bergentr-ckung used to create an extra directory named 'Asgore (w' and then a file named ' Bergentrückung).flac'. Now it creates 'Asgore (w- Bergentrückung).flac'