mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-10-08 08:11:14 +00:00
The audit hook denies any path with a component containing secret, cert or conf, before the allowed roots are considered. On Linux the data directory is ~/.config/OrcaSlicer, so every file a plugin touched under its own data folder from a plugin callback was denied. Judge only the components below the deepest allowed root that holds the path: the root's own components are the host's choice, while a keyword below it still denies, which keeps the bundled certificate folder unreachable.
OrcaSlicer tests
Building, running and writing tests is documented on the wiki, under How to Test.
Two files here rather than there, because coding agents only read what is in the repository: