Skip to content

Can't store username that contains underscore #1359

@loganrosen

Description

@loganrosen

Describe the bug
I tried to store my username on Libera Chat (Logan_) for SASL authentication using !username Logan_, but I got the message that it contains invalid characters not supported by IRC:

!username Logan_

Username contained invalid characters not supported by IRC.

This message is definitely incorrect because my username is registered with Libera Chat with an underscore. It looks like this is because _ is used as a delimiter by the bridge. Does this mean I can't authenticate my Libera username using Matrix?

To Reproduce
Steps to reproduce the behavior:

  1. Open a DM with the bridge user
  2. Say !username and then a username containing an underscore
  3. See error

Expected behavior
I expected to be able to store my IRC username with Matrix and automatically authenticate using SASL.

Desktop (please complete the following information):

  • OS: Ubuntu
  • Browser Firefox
  • Version 90.0a1

Metadata

Metadata

Assignees

No one assigned

    Labels

    T-DefectBugs, crashes, hangs, vulnerabilities, or other reported problems.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions