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

Post policy SetContentLengthRange with min=max=0 will omit content-length-range condition ? #1674

Closed
hotrungnhan opened this issue Jul 9, 2022 · 2 comments

Comments

@hotrungnhan
Copy link
Contributor

hotrungnhan commented Jul 9, 2022

I think this policy.SetContentLengthRange should throw an error if min=max=0, currently it will omit content-length-range make harder to predict.
image

@hotrungnhan hotrungnhan changed the title Post policy SetContentLengthRange do not cover case min=max=0 ? Post policy SetContentLengthRange with min=max=0 ? Jul 9, 2022
@hotrungnhan hotrungnhan changed the title Post policy SetContentLengthRange with min=max=0 ? Post policy SetContentLengthRange with min=max=0 will omit content-length-range condition ? Jul 9, 2022
@harshavardhana
Copy link
Member

Feel free to send a PR @hotrungnhan

@harshavardhana
Copy link
Member

This is fixed in #1675

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

2 participants