0
0
Fork 0
mirror of https://github.com/go-gitea/gitea synced 2024-12-27 11:34:25 +01:00
gitea/routers
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
..
api/v1 Set AllowedHeaders on API CORS handler (#16524) 2021-08-04 21:56:49 +02:00
common Rename context.Query to context.Form (#16562) 2021-07-29 03:42:15 +02:00
install Allow setting X-FRAME-OPTIONS (#16643) 2021-08-06 16:47:10 -04:00
private Rename context.Query to context.Form (#16562) 2021-07-29 03:42:15 +02:00
utils
web Allow setting X-FRAME-OPTIONS (#16643) 2021-08-06 16:47:10 -04:00
init.go Refactor: Move login out of models (#16199) 2021-07-24 11:16:34 +01:00