jinjax icon indicating copy to clipboard operation
jinjax copied to clipboard

Broken paths with subdirectories on Windows

Open HiPhish opened this issue 3 months ago • 0 comments

This library makes the assumption that the file path separator is a forward slash, but on Windows the file path separator is a backslash. I was able to hack together a fix by replacing the SLASH variable (utils.py) with os.sep and use a backslash in the string interpolation of the _get_component_path method (catalog.py). This is not quite correct though, the SLASH variable is used outside file paths as well. A proper fix would be to completely decouple the name of a component from its file path.

HiPhish avatar Sep 30 '25 16:09 HiPhish