mirror of
https://github.com/storytold/photocraft.git
synced 2026-12-02 06:20:48 +01:00
The optional font import copied every manifest path that merely looked relative into the site at the same path, following symlinks. A font folder could overwrite the app's own files (its JavaScript loader) or copy files from outside the folder into the published site. Require font and licence paths under fonts/, refuse symlinks and files that resolve outside the folder, and refuse to replace a file already in the site.