forgejo/modules/context
Gusted 27ee01e1e8
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>
2022-01-22 13:32:35 -05:00
..
access_log.go
api.go
api_org.go
api_test.go
auth.go
captcha.go
context.go Disable content sniffing on PlainTextBytes (#18359) 2022-01-22 13:32:35 -05:00
csrf.go
form.go
org.go
pagination.go
permission.go
private.go
repo.go
response.go
xsrf.go
xsrf_test.go