Skip to content

Client peer menu uses substring matching — targets wrong user #9

@davidnoyes

Description

@davidnoyes

Bug Description

if m["name"] in line:

If users "Al" and "Alice" are both online and you right-click "Alice", "Al" in " Alice" is True. If "Al" comes first in the member list, your DM or report goes to "Al" instead of "Alice".

File & Lines

client code 2.py — lines 458–460

Severity

Functional bug — DMs and reports can be sent to the wrong user.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions