Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

compression level validation #1517

Open
aryszka opened this issue Aug 28, 2020 · 0 comments
Open

compression level validation #1517

aryszka opened this issue Aug 28, 2020 · 0 comments

Comments

@aryszka
Copy link
Contributor

aryszka commented Aug 28, 2020

Describe the bug
The documentation states that the valid levels for the compress filter are [0..9], while the validation logic allows a wider range, see: #1515

Expected behavior
The safest is to limit the validation to 0..9, and explicitly support HuffmanOnly, and use the default when the compression level is not specified.

Observed behavior
Currently the validation accepts a wider range of levels than what's documented.

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

No branches or pull requests

1 participant