ruflo v3.38.9

v3.38.9

v3.38.9 — path-validator symlinked-prefix fix

Fixes

#3010 — PathValidator rejected everything under a symlinked prefix, breaking ruflo proxy install on macOS. validate() canonicalized the candidate path through fs.realpath but the constructor only ever path.resolve()d the allowed prefixes — so on macOS, where os.tmpdir() is reached through a symlink (/var/private/var), the realpath'd candidate could never match the non-realpath'd prefix, and every path under it — including the prefix's own contents — was rejected as "outside allowed directories." Download and Ed25519 signature verification both succeeded during proxy install; it then failed on this defense-in-depth path check. Fixed by realpath-ing prefixes at construction time too, with the same ENOENT-tolerant fallback validate() already uses for candidates.

Links
  • PR: #3013 (#3010)
  • Previous release: v3.38.8 (#2962 — provider/model config propagation)
View original

Upgraded? How did it go?

Discussion