Skip to content

[Bug]: Coop game titles are not sufficiently validated #3308

@Askaholic

Description

@Askaholic

Describe the Bug

The lobby server requires game titles to fulfill 2 crieteria:

  • The title is non-empty
  • The title contains only ascii characters

It seems that these conditions are checked when hosting regular games, but when hosting coop games the ascii condition is not being checked.

Log file or Error Message

Therefore I'm seeing these errors in the server logs:

ClientError[downlords-faf-client]: Title must contain only ascii characters.

Reproduce the bug

Host a coop game with some non-ascii characters. For instance Hëllö Wörld.

Expected Behavior

Client side validation should prevent the 'host game' button from being clicked.

Screenshots

No response

Additional context

No response

Which Operating System are you using?

Linux

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions