fix(server): refuse symlinked theme files on Windows too

readThemeFileGuarded relied on O_NOFOLLOW to reject a symlinked theme file.
Windows has no such flag: the constant is undefined, OR-ing it in is a
no-op, and the open followed the link, so a symlink planted in the themes
directory published whatever it pointed at. Check with lstat first where
the flag is missing; the descriptor-bound checks after the open still
narrow what a swap in that window can reach.

Co-Authored-By: Claude Code <noreply@anthropic.com>
ad9b7df33dJulius Marminge committed on 9/4/2026, 8:26:51 PMparent3bcea0a
1 file changedLine totals unavailable