mirror of
https://github.com/SabreTools/MPF.git
synced 2026-02-11 05:35:17 +00:00
[Problem] Bug when folder ends with a space #853
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @FoxhackDN on GitHub (Jul 14, 2025).
Originally assigned to: @mnadareski on GitHub.
Version
What version are you using?
Build
What runtime version are you using?
Describe the issue
If the middle of the folder path written in "Output Path" in MPF has a space at the end, the dump will not begin and MPF will say it failed to find any files.
To Reproduce
Steps to reproduce the behavior:
ISO\Dump Name\dumpfile.binISO\Dump Name \dumpfile.binExpected behavior
Ideally the program would either trim the space, prevent you from starting a dump, warn you about it, or yell at you for using it.
Additional context
Other tests:
ISO\Dump Name\Second Folder\dumpfile.binwill workISO\Dump Name \Second Folder\dumpfile.binwill failISO\Dump Name\Second Folder \dumpfile.binwill failISO \Dump Name\dumpfile.binwill create a second ISO folder in the MPF directory and it points to the same location as your old dump files so PLEASE DO NOT DO THAT@mnadareski commented on GitHub (Jul 14, 2025):
There's a combination of things at work here: