Skip to content

Conversation

@Numpsy
Copy link
Contributor

@Numpsy Numpsy commented Mar 1, 2021

As queried in #500 and in various other discussions - Should the CompressionMethod property setter be trying to determine if a method is supported, given that the class is shared by ZipFile and the Zip stream classes, which have different behaviour?

There were various places in the past that relied on this behaviour to reject unsupported entries, but I think ZipFile/ZipXStream should be checking that themselves where needed now.

I certify that I own, and have sufficient rights to contribute, all source code and related material intended to be compiled or integrated with the source code for the SharpZipLib open source product (the "Contribution"). My Contribution is licensed under the MIT License.

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.

2 participants