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

Crash when passing an accent in payload (via headers) #724

Open
thbar opened this issue Jun 18, 2024 · 1 comment
Open

Crash when passing an accent in payload (via headers) #724

thbar opened this issue Jun 18, 2024 · 1 comment

Comments

@thbar
Copy link

thbar commented Jun 18, 2024

If one goes here:

HTTP 1 headers encoding is a legacy subject (latin-1 etc), as mentioned here:

My hypothesis is the crash is completely accent-related (and linked to latin-1 <-> UTF-8 transcoding probably).

If one inputs "ephemere", the crash stops.

While a bit exotic, this point is essential for the content-disposition header, which gives the filename of the downloaded file (attachment, filename=xyz).

@thbar
Copy link
Author

thbar commented Jun 18, 2024

(removed mention of HTTP2, which I didn't document properly)

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