matrix-nio icon indicating copy to clipboard operation
matrix-nio copied to clipboard

Stricter user ID according to spec

Open jaywink opened this issue 3 years ago • 1 comments

Make the user ID regexp stricter according to the Matrix specification. Add tests for the function.

See https://matrix.org/docs/spec/appendices#user-identifiers

jaywink avatar Jul 28 '20 23:07 jaywink

Codecov Report

Merging #199 into master will increase coverage by 0.01%. The diff coverage is 100.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #199      +/-   ##
==========================================
+ Coverage   89.71%   89.72%   +0.01%     
==========================================
  Files          43       43              
  Lines        6803     6802       -1     
==========================================
  Hits         6103     6103              
+ Misses        700      699       -1     
Impacted Files Coverage Δ
nio/schemas.py 100.00% <100.00%> (+0.95%) :arrow_up:

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update b7c454e...b195b8f. Read the comment docs.

codecov-commenter avatar Jul 28 '20 23:07 codecov-commenter