Skip to content

Username Collision on the Host side #5

@xayaank

Description

@xayaank

In the _handle method, the host checks if a username is taken.

Bug: The check if username == self.session.username or username in self.clients is case-sensitive. user could join as "john" while another user is "John." can cause confusion or bugs in the /w (whisper) logic.

Fix: Convert usernames to lowercase for the comparison check

Metadata

Metadata

Assignees

No one assigned

    Labels

    bug-riskdocumentationImprovements or additions to documentation

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions