Skip to content

bug: --allow-solid-archives not applied to conflict-detection list step in extract #124

@bug-ops

Description

@bug-ops

Description

In commands/extract.rs line 25, the conflict-detection list_archive call uses SecurityConfig::default(), ignoring --allow-solid-archives. This means users extracting a solid 7z archive without --force or --atomic will hit a SecurityViolation at the list step, even when --allow-solid-archives is passed.

Reproduction

cargo run --bin exarch -- extract tests/fixtures/solid.7z /tmp/out/ --allow-solid-archives
# Fails at conflict-detection step with SecurityViolation (solid archives not allowed)
# Workaround: use --force or --atomic

Expected

--allow-solid-archives should be passed to the SecurityConfig used for conflict detection as well.

Severity

Medium — usability regression introduced alongside #119 fix.

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions