Skip to content

User allowed mod validation is case-sensitive while playlist item allowed mods is case-insensitive #458

@ILW8

Description

@ILW8

Related: #406


Title is a bit convoluted, but the gist is that ValidateUserMods in MultiplayerPlaylistItemExtensions.cs uses case-sensitive string comparison when checking user-selected mods against a playlist item's AllowedMods

if (item.AllowedMods.All(m => m.Acronym != mod.Acronym))

However, EditCurrentPlaylistItem accepts both upper-case and lower-case mod acronyms for AllowedMods. A referee client can to update a playlist item using lower-case mod acronyms and the game client will show the correct list of allowed mods, but the server will reject users setting any mods as user mod validation fails.

2026-04-01.05-16-59.h264_cq22.mp4

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

Status

Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions