0
0
mirror of https://github.com/go-gitea/gitea.git synced 2024-12-04 11:57:03 +01:00
gitea/modules/context
zeripath afd88a2418
Allow setting X-FRAME-OPTIONS (#16643)
* Allow setting X-FRAME-OPTIONS

This PR provides a mechanism to set the X-FRAME-OPTIONS header.

Fix #7951

Signed-off-by: Andrew Thornton <art27@cantab.net>

* Update docs/content/doc/advanced/config-cheat-sheet.en-us.md

Co-authored-by: John Olheiser <john.olheiser@gmail.com>

Co-authored-by: John Olheiser <john.olheiser@gmail.com>
2021-08-06 16:47:10 -04:00
..
access_log.go
api_org.go
api_test.go
api.go Allow setting X-FRAME-OPTIONS (#16643) 2021-08-06 16:47:10 -04:00
auth.go
captcha.go
context.go Allow setting X-FRAME-OPTIONS (#16643) 2021-08-06 16:47:10 -04:00
csrf.go
form.go
org.go
pagination.go
permission.go
private.go
repo.go
response.go
xsrf_test.go
xsrf.go