Skip to content

Linux allows creating "illegal" folder names #6026

@bddvlpr

Description

@bddvlpr

Describe the bug?

On Linux, I am able to create formatted folders while on Windows this is not allowed. Internally, FrooxEngine uses a combination of Path.GetInvalidFileNameChars() and Path.GetInvalidPathChars() which since the release of the Linux native version now function differently as the Linux filesystem is much more lenient on allowed path characters. Characters such as <, >, \ are all allowed and valid when it comes to this check. There seems to be no back-end side check blocking it either.

To Reproduce

Open Resonite on Linux and create a folder named <color=red>test. On Windows this is disallowed as < and > are invalid path characters, on Linux this will pass and creates the folder.

Reproduction Item/World

resrec:///U-1NhzjdnI2q0/R-66588692DF9F8E31E256570AE04E75BFE0C4747A2243DC09CC74581D6D566104

Expected behavior

Either block these characters on Linux too or allow the usage of these characters as (so far) I've not had issues with them so far.

Screenshots

Image Image

Resonite Version Number

2025.12.16.1424

What Platforms does this occur on?

Linux

What headset if any do you use?

No response

Log Files

Not applicable.

Additional Context

No response

Reporters

Nali (ldgtl)

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working as intended.needs more informationMore information is requested about this issue.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions