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

Dealing with Invalid UTF-8 #232

Closed
jasnell opened this issue Aug 13, 2013 · 1 comment
Closed

Dealing with Invalid UTF-8 #232

jasnell opened this issue Aug 13, 2013 · 1 comment

Comments

@jasnell
Copy link
Contributor

jasnell commented Aug 13, 2013

The current header compression draft states that header field values are UTF-8. However, the spec says nothing about how to deal with overlong encodings, invalid UTF-8 octet sequences or valid UTF-8 sequences that encode invalid Unicode codepoints.

I recommend stating that any of these conditions ought to result in an error. An encoder MUST NOT output any of these; and a decoder ought to signal a connection error if encountered.

@martinthomson
Copy link
Collaborator

Decided on a plan for #242 that invalidates this issue. Closing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants