Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Disable content sniffing on
PlainTextBytes
(go-gitea#18359)
- Disable the browser's function to "sniff" for the content-type on the provided plain text, this will prevent the possible usage of user-controlled data being sent, which could be malicious. Co-authored-by: zeripath <art27@cantab.net> Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
- Loading branch information