summaryrefslogtreecommitdiffstats
path: root/services/gitdiff
diff options
context:
space:
mode:
authorGusted <williamzijl7@hotmail.com>2022-01-22 18:32:35 +0000
committerGitHub <noreply@github.com>2022-01-22 13:32:35 -0500
commit27ee01e1e866f2f13603af65224ddae77d5149d7 (patch)
tree18b2dc30197af73a35ca903042f672620dbfa38b /services/gitdiff
parent6ad7a5376adf3f04b6eed6de9feef09752298cd0 (diff)
downloadgitea-27ee01e1e866f2f13603af65224ddae77d5149d7.tar.gz
gitea-27ee01e1e866f2f13603af65224ddae77d5149d7.zip
Disable content sniffing on `PlainTextBytes` (#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>
Diffstat (limited to 'services/gitdiff')
0 files changed, 0 insertions, 0 deletions