Skip to content

operators can't WHOIS some utf-8 nicknames #331

@slingamn

Description

@slingamn

Reported by bogdomania on freenode. Ordinary users can WHOIS one other by their utf-8 nicknames. However, operators have enhanced capabilities --- their WHOIS arguments are treated as nickmasks with wildcards --- and something in this pipeline (maybe strings.Split, maybe ircmatch) fails to match certain utf-8 nicknames.

Reproduction steps:

  1. Client 1 joins with a Hebrew nickname, e.g., ברוך
  2. Client 2 joins and becomes an operator
  3. Client 2 issues WHOIS ברוך
  4. Client 2 receives, e.g., :oragono.test 401 פינחס ברוך :No such nick

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions