Skip to content
This repository has been archived by the owner on Apr 26, 2024. It is now read-only.
This repository has been archived by the owner on Apr 26, 2024. It is now read-only.

Cannot start a chat with a user if domain contains uppercases #1999

Open
@sabrinaj

Description

When we try to start a chat with (or invite in a room) a user identifier whose domain contains uppercases, we get an error HTTP 401 {"errcode":"M_UNKNOWN","error":"Unauthorized"}.

For example, we can start a chat with @riotuser6:matrix.org but we can't with @riotuser6:Matrix.org. An empty room is created but the user is not invited and we get the error above.

In that case, on iOS and Android, we display "Unauthorized" and the web client displays the error below:
untitled

Metadata

Assignees

No one assigned

    Labels

    A-Create-RoomA-Validation500 (mostly) errors due to lack of event/parameter validationT-DefectBugs, crashes, hangs, security vulnerabilities, or other reported issues.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions