0
0
Fork 0
mirror of https://github.com/go-gitea/gitea synced 2024-11-15 22:41:44 +01:00
gitea/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 format with gofumpt (#18184) 2022-01-20 18:46:10 +01:00
api_org.go
api_test.go format with gofumpt (#18184) 2022-01-20 18:46:10 +01:00
auth.go Refactor auth package (#17962) 2022-01-02 21:12:35 +08:00
captcha.go format with gofumpt (#18184) 2022-01-20 18:46:10 +01:00
context.go Disable content sniffing on PlainTextBytes (#18359) 2022-01-22 13:32:35 -05:00
csrf.go format with gofumpt (#18184) 2022-01-20 18:46:10 +01:00
form.go Add config options to hide issue events (#17414) 2022-01-21 18:59:26 +01:00
org.go Team permission allow different unit has different permission (#17811) 2022-01-05 11:37:00 +08:00
pagination.go
permission.go
private.go format with gofumpt (#18184) 2022-01-20 18:46:10 +01:00
repo.go format with gofumpt (#18184) 2022-01-20 18:46:10 +01:00
response.go format with gofumpt (#18184) 2022-01-20 18:46:10 +01:00
xsrf.go
xsrf_test.go