Skip to content

"DOS line endings trip up charset #95" #98

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

Closed
wants to merge 1 commit into from
Closed

"DOS line endings trip up charset #95" #98

wants to merge 1 commit into from

Conversation

vandys
Copy link

@vandys vandys commented Feb 22, 2023

Break off extraction of charset value after either newline or return, so we can coexist cleanly w. the DOS/Windows world.

(Mostly the code doesn't care that a stray line ending slips in, but then there's the principle of least astonishment...)

Break off extraction of charset value after either newline or return,
so we can coexist cleanly w. the DOS/Windows world.

(Mostly the code doesn't care that a stray line ending slips in, but
then there's the principle of least astonishment...)
@jkbzh
Copy link
Contributor

jkbzh commented May 12, 2023

Thanks for your report and patch. I manually added the code changes you proposed to the 3.0 branch. Further tests revealed this was not enough and that the same care was needed for all the other headers. This is now fixed. Thanks for bringing this up.

35b227a

@jkbzh jkbzh closed this May 12, 2023
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.

3 participants