Message8216
Handle application/octet-stream as a universal download mime type.
However without the 'X-Content-Type-Options: nosniff' security header, an html
file with application/octet-stream could be parsed by the browser and
displayed/executed as html.
So set the X-Content-Type-Options header when using this codepath.
client.py sets this header when the SendFile exception is raised for the same reason. |
|
Date |
User |
Action |
Args |
2024-12-08 16:06:09 | rouilj | set | messageid: <1733673969.19.0.953371467469.issue2551068@roundup.psfhosted.org> |
2024-12-08 16:06:09 | rouilj | set | recipients:
+ rouilj, schlatterbeck |
2024-12-08 16:06:09 | rouilj | link | issue2551068 messages |
2024-12-08 16:06:09 | rouilj | create | |
|