Files
signal-cli-rest-api/src
Mathias Fredriksson 7d6f745c08 Parse attachment data URI parameters as MIME parameters
Clients that build the data URI with a MIME library, such as Go's
mime.FormatMediaType, quote filenames that contain spaces and encode
non-ASCII ones as filename*. Splitting the metadata at ';' kept the
quotes in the name or ignored the parameter.

Parse the metadata with mime.ParseMediaType and reject what it cannot
parse. Unquoted filenames with spaces or non-ASCII characters are now
rejected; clients need to quote or encode them.

Assisted-by: Claude Opus 5.5
(cherry picked from commit 92ba581fb3b1b34ee010cca731974aaba78402fc)
2026-11-21 20:12:03 +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