Describe the bug
A get_sanitized_output_path produces fileish for is_path_valid, suspecting canonical_path might be collapsing or producing a relative path missing the root, causing is_relative_to to fail and is_path_valid to return false unexpectedly.
Related issue
aqtinstall project files a ticket miurahr/aqtinstall#995
Environment (please complete the following information):
- OS: Windows
- Python: 3.13.11
- py7zr version: v1.1.2
Test data(please attach in the report):
Additional context