Skip to content

Registry index names an unsafe file path

Type URI: https://modeled-information-format.github.io/mif-rs/references/errors/unsafe-index-path/v1 HTTP status: 422 Exit code: 1 Emitted by: mif-rh (MifRhError::UnsafeIndexPath)

registry index entry for '{id}' has an unsafe file path: '{file}' (must be a bare filename)

The registry index named an unsafe, non-bare file path for an ontology — something other than a plain filename, such as a path containing directory separators or traversal segments. Allowing this through would let a poisoned index escape the vendored packs directory when the file is written to disk.

Unspecified — the registry index entry is malformed or unsafe; fix it upstream in the canonical registry before retrying.