Skip to content

[bug] kOS local volume name inherits invalid names from part tags #2726

@NoRePercussions

Description

@NoRePercussions

kOS Cores can inherit names based on their part tag. This includes invalid names, such as those with spaces, which can cause errors in volume operations.

Replication:

  1. Place a processor down. Name it something that would be invalid as a volume name, such as including a space ie "my core"
  2. Launch and open the terminal. Get the current path with path(), then try to cd to the current path ie cd(path()). An error is raised.

This could be fixed through stripping invalid characters or just failing to the default volume name.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions