mirror of
https://github.com/SabreTools/MPF.git
synced 2026-02-07 21:30:16 +00:00
[Problem] Relative output path is improperly sanitized #492
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 @CookiePLMonster on GitHub (Feb 21, 2023).
Originally assigned to: @mnadareski on GitHub.
Version
What version are you using?
49800cf0ed(issue happens on both)
Build
What runtime version are you using?
Describe the issue
Specifying a relative output path that traverses upwards should technically be supported, but it misbehaves. Instead of
..advancing the directory up, it gets sanitized to__and creates a subdirectory.To Reproduce
Steps to reproduce the behavior - these steps assume MPF resides in
F:\MPF:..\dumps.F:\MPF\__\dumps.Expected behavior
Dumps should be created in
F:\dumps.@CookiePLMonster commented on GitHub (Mar 11, 2023):
Either not fixed or regressed back to how it was, tested on

fa04461631.