Skip to content

validate that the motd is utf8 #2228

@slingamn

Description

@slingamn

We got a bug report about this; it seems like Ergo will accept a non-UTF8 motd file and then attempt to serve it to text websocket clients, causing disconnection. if EnforceUTF8 is enabled then we should check utf8.Valid on the motd lines.

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