Files
signal-cli-rest-api/src
Mathias Fredriksson 893be5e3fc Keep attachment files in their temporary directory
An attachment's filename was joined to its temporary directory as
given, so a name with path separators or ".." pointed somewhere else.
Reject such names before creating the file.

Also remove the temporary files when the JSON-RPC client is missing,
and the directory when the file cannot be created; both returns left
them behind.

Assisted-by: Claude Opus 5.5
(cherry picked from commit abfbf6ec85e23f966d089133860b31832f8d7de9)
2026-11-21 20:11:46 +01:00
..
2026-07-23 22:47:13 +02:00
2026-11-20 15:19:02 +01:00
2026-09-03 20:05:06 +02:00
2026-09-03 20:05:06 +02:00
2026-05-27 22:27:56 +02:00