Skip to content

Fix output path handling to preserve directory structure (fixes #351)#359

Open
plur1bu5 wants to merge 1 commit intoly4k:mainfrom
plur1bu5:fix/preserve-output-path
Open

Fix output path handling to preserve directory structure (fixes #351)#359
plur1bu5 wants to merge 1 commit intoly4k:mainfrom
plur1bu5:fix/preserve-output-path

Conversation

@plur1bu5
Copy link
Copy Markdown

@plur1bu5 plur1bu5 commented Mar 9, 2026

The output_path sanitization was too aggressive, replacing all path separators (/ and ) with underscores. This prevented users from specifying full paths for output files.

Changed to only sanitize the filename component while preserving the directory path. Only colons are replaced in the filename to handle invalid characters on Windows.

Fixes #351

)

The output_path sanitization was too aggressive, replacing all path
separators (/ and \) with underscores. This prevented users from
specifying full paths for output files.

Changed to only sanitize the filename component while preserving the
directory path. Only colons are replaced in the filename to handle
invalid characters on Windows.

Fixes ly4k#351
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Bug] out parameter in req cannot accept full paths due to \ and / being replaced

1 participant