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

token handling is not compliant with RFC 7252 #146

Open
reichemn opened this issue Jun 9, 2019 · 0 comments
Open

token handling is not compliant with RFC 7252 #146

reichemn opened this issue Jun 9, 2019 · 0 comments

Comments

@reichemn
Copy link

reichemn commented Jun 9, 2019

From RFC 7252, section 5.3.1:

An endpoint receiving a token it did not generate MUST treat the token as opaque and make no assumptions about its content or structure.

But CoAPthon assumes that a received token is an utf-8 encoded string. This behavior causes the server to crash if the received token does not contain a valid utf-8 byte sequence.

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