Files
wekan/server/methods
Lauri Ojansivu 0dd33ef806 Refuse to restore a backup file through a symlink.
The attachment and avatar restore checked that an entry's name stays inside
the files directory, then wrote with fs.createWriteStream, which follows a
symlink already on that path. It now skips such entries and replaces the
file exclusively, as the full-backup restore already did.

Thanks to xet7 !
2026-10-02 11:42:49 +03:00
..