fix: add X-Content-Type-Options nosniff header to downloads (Closes #173) #184
Reference in New Issue
Block a user
Delete Branch "feature/issue-173-download-security-headers"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
SecurityHeadersMiddlewarethat addsX-Content-Type-Options: nosniffto allDownloadResponseinstancesContent-Disposition: attachmentis already handled by Nextcloud'sDownloadResponseTest plan
Closes #173