1
0
mirror of https://github.com/go-gitea/gitea synced 2024-11-14 01:35:54 +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 just add some unit tests (#16291) 2021-06-29 22:00:02 +01:00
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