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

Make charset parser case insensitive in Content-Disposition #5105

Closed
wants to merge 1 commit into from

Conversation

lhns
Copy link
Contributor

@lhns lhns commented Aug 24, 2021

When we updated a service from 0.21 to 0.23 we discovered that Requests with a Content-Disposition header containing a filename attribute with "utf-8" charset were suddenly rejected.
This is because the charset parser is case sensitive.

Copy link
Member

@rossabaker rossabaker left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This can probably be backported to 0.22.

@rossabaker rossabaker added bug Determined to be a bug in http4s module:core labels Aug 30, 2021
@rossabaker
Copy link
Member

This will be in the 0.22 and 0.23 patches this week.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Determined to be a bug in http4s module:core
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants