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

Disable character range check for user IDs #410

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

neilalexander
Copy link
Contributor

This check is not safe in existing room versions because Synapse hasn't enforced it properly either.

Related: matrix-org/matrix-spec#1506, matrix-org/matrix-spec-proposals#2828

Signed-off-by: Neil Alexander git@neilalexander.dev

This check is not safe because Synapse hasn't enforced it properly either.

Signed-off-by: Neil Alexander <git@neilalexander.dev>
@codecov
Copy link

codecov bot commented Aug 15, 2023

Codecov Report

Patch coverage: 100.00% and project coverage change: +0.09% 🎉

Comparison is base (c48e302) 58.37% compared to head (ac984c7) 58.47%.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #410      +/-   ##
==========================================
+ Coverage   58.37%   58.47%   +0.09%     
==========================================
  Files          51       51              
  Lines        7023     7032       +9     
==========================================
+ Hits         4100     4112      +12     
+ Misses       2533     2531       -2     
+ Partials      390      389       -1     
Files Changed Coverage Δ
spec/userid.go 94.64% <100.00%> (+7.40%) ⬆️

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@neilalexander
Copy link
Contributor Author

cc @S7evinK @devonh

Copy link
Member

@kegsay kegsay left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is the hill I'm dying on.

matrix-org/matrix-spec#1506 (comment)

If the above clarification PR lands, then I'll admit defeat and merge this.

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.

2 participants