zulip/puppet/zulip
Alex Vandiver 23894fc9a3 uploads: Set Content-Type and -Disposition from Django for local files.
Similar to the previous commit, Django was responsible for setting the
Content-Disposition based on the filename, whereas the Content-Type
was set by nginx based on the filename.  This difference is not
exploitable, as even if they somehow disagreed with Django's expected
Content-Type, nginx will only ever respond with Content-Types found in
`uploads.types` -- none of which are unsafe for user-supplied content.

However, for consistency, have Django provide both Content-Type and
Content-Disposition headers.
2023-02-07 17:12:02 +00:00
..
files uploads: Set Content-Type and -Disposition from Django for local files. 2023-02-07 17:12:02 +00:00
lib/puppet puppet: Monitor "hosts_fullstack" hosts (e.g. CZO). 2022-11-01 22:24:40 -07:00
manifests puppet: Allow choice of timesync tool. 2023-01-31 14:20:41 -08:00
templates CVE-2023-22735: Provide the Content-Disposition header from S3. 2023-02-07 17:09:52 +00:00