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

Test unit length compliance (255 bytes vs unicode points) #531

Open
ShadowJonathan opened this issue Oct 21, 2022 · 1 comment
Open

Test unit length compliance (255 bytes vs unicode points) #531

ShadowJonathan opened this issue Oct 21, 2022 · 1 comment

Comments

@ShadowJonathan
Copy link
Contributor

ShadowJonathan commented Oct 21, 2022

This follows matrix-org/matrix-spec#1001, I think it'd be good to add a test that essentially instigates this behaviour, trying out strings of emojis that are less than 255 codepoints, but are more than 255 bytes.

The only question left is how many of the different fields we're going to test, I'd suggest to at least check:

  • type
  • state_key
  • user_id
@neilalexander
Copy link
Contributor

And sender.

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

2 participants