Skip to content

Erroneous Characters Inserted in motd for Non-Standard Characters #9839

@tomkimberlin

Description

@tomkimberlin

Expected behavior

I expect Paper not to insert any erroneous characters into the motd field of my server.properties file when using non-standard characters and starting the server.

Observed/Actual behavior

When the motd in the server.properties file contains non-standard characters, Paper inserts erroneous characters before or after them. As a side effect, each time the server is restarted, additional erroneous characters are inserted, which can eventually cause the server.properties file to grow significantly in size.

Steps/models to reproduce

  1. Start a server with non-standard characters (e.g., "§", "Ã", etc.) in the motd of the server.properties file.
  2. Observe that erroneous characters are inserted before or after these symbols upon server startup.
  3. Optionally, restart the server to observe that additional erroneous characters are inserted, leading to a growth in the size of the server.properties file.

Plugin and Datapack List

None

Paper version

git-Paper-238

Other

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    resolution: awaiting responseAdditional information is required from the issue reporterresolution: cannot reproducePaper team is unable to replicate the issue.type: bugSomething doesn't work as it was intended to.

    Type

    No fields configured for Bug.

    Projects

    Status

    Invalid

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions