diff options
author | Patrick Cloke <clokep@users.noreply.github.com> | 2021-01-13 07:05:16 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-01-13 07:05:16 -0500 |
commit | 98a64b7f7f256b7afd4a1d735cb32d099e44831a (patch) | |
tree | d58c5d8d423a93541d63ace5eb0d0e1be32192d5 /tests/test_state.py | |
parent | Merge branch 'master' into develop (diff) | |
download | synapse-98a64b7f7f256b7afd4a1d735cb32d099e44831a.tar.xz |
Add basic domain validation for `DomainSpecificString.is_valid`. (#9071)
This checks that the domain given to `DomainSpecificString.is_valid` (e.g. `UserID`, `RoomAlias`, etc.) is of a valid form. Previously some validation was done on the localpart (e.g. the sigil), but not the domain portion.
Diffstat (limited to 'tests/test_state.py')
0 files changed, 0 insertions, 0 deletions