Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Security-Alert: try to store file outside of dist-directory. Aborting. 'my..data.txt' #2641
Including a data file with two consecutive periods in the filename like "my..data.txt" gives a "Security-Alert" error when using pyinstaller. Is this desired behavior or a bug?
Renaming "my..data.txt" to "my_data.txt" in the actual file and the .spec file lets it successfully generate the executable, but I'd much prefer being able to support any valid filename for input data files. I'm using Windows 7, Python 3.5, PyInstaller: 3.3.dev0+gbb9e52fb.
Which also triggers if the filename contains
This needs to be changed into
thus checking the each path component