Commit Graph

1 Commits

Author SHA1 Message Date
lif
8595a48795 fix: Content-Disposition header format to comply with RFC 2183
Fixes #8914

The Content-Disposition header was set to `filename="name.ext"` which
doesn't match RFC 2183 specification. This caused third-party libraries
(e.g., Go's mime.ParseMediaType) to fail parsing the header.

Changed to `inline; filename="name.ext"` format which properly includes
the disposition-type as required by RFC 2183.
2025-12-18 00:31:10 +08:00