Skip to content

Insufficient validation of mod.conf name #16478

@sfan5

Description

@sfan5

Luanti 176cadc on Linux

Description

  1. Create mods/test3/mod.conf
  2. Input
name = """
haha ;]
oops
"""
  1. The multiline name will look weird in the menu and after opening the mod selection menu you will also get this:
    2025-09-07 12:24:08: ERROR[Main]: Invalid label element(3): '0.75,0.7;haha ;'

While there is an error if you try to activate the mod, IMO we should just filter out mods that fail validation early in the code.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions