Skip to content

Duplicating file suffix causes panic: "entered unreachable code" #431

Open
@k4yt3x

Description

Version

0.4.1

Description

I came a cross this panic when I was trying to decompress a ZIP file with two .zip suffixes. It's easy to reproduce:

image

Current Behavior

Decompressing a file like test.zip.zip with two suffixes causes the program to panic.

Expected Behavior

The program should decompress the file normally and guess the file's type using the last suffix.

Additional Information

No response

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions