Skip to content

RPL_ENDOFWHO does not contain the exact original mask. #1831

@progval

Description

@progval

Hi,

In ircdocs/modern-irc#138 , we would like to write this:

<mask> MUST be exactly the <mask> parameter sent by the client in its WHO message. This means the case MUST be preserved.

But Ergo casefolds everything:

1636886924.579 2 -> S: WHO #CHAN
1636886924.580 S -> 2: :My.Little.Server 352 otherNick #chan ~myusernam 127.0.0.1 My.Little.Server coolNick G*@ :0 My UniqueReal Name
1636886924.580 S -> 2: :My.Little.Server 352 otherNick #chan ~username 127.0.0.1 My.Little.Server otherNick H :0 Realname
1636886924.580 S -> 2: :My.Little.Server 315 otherNick #chan :End of WHO list

and normalizes non-channels as full masks:

1636886924.387 2 -> S: WHO coolNick
1636886924.387 2 -> S: PING synchronize2140043.316997852
1636886924.389 S -> 2: :My.Little.Server 352 otherNick * ~myusernam 127.0.0.1 My.Little.Server coolNick G* :0 My UniqueReal Name
1636886924.390 S -> 2: :My.Little.Server 315 otherNick coolnick!*@* :End of WHO list

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions