anonymousland-synapse/changelog.d/9071.bugfix
Patrick Cloke 98a64b7f7f
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.
2021-01-13 07:05:16 -05:00

2 lines
82 B
Plaintext

Fix "Failed to send request" errors when a client provides an invalid room alias.