-
-
Notifications
You must be signed in to change notification settings - Fork 5.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Allow setting X-FRAME-OPTIONS #16643
Allow setting X-FRAME-OPTIONS #16643
Conversation
This PR provides a mechanism to set the X-FRAME-OPTIONS header. Fix go-gitea#7951 Signed-off-by: Andrew Thornton <art27@cantab.net>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Tiny nit
Co-authored-by: John Olheiser <john.olheiser@gmail.com>
Codecov Report
@@ Coverage Diff @@
## main #16643 +/- ##
=======================================
Coverage 45.41% 45.41%
=======================================
Files 756 756
Lines 85247 85247
=======================================
+ Hits 38713 38714 +1
+ Misses 40271 40270 -1
Partials 6263 6263
Continue to review full report at Codecov.
|
This PR provides a mechanism to set the X-FRAME-OPTIONS header.
Fix #7951
Signed-off-by: Andrew Thornton art27@cantab.net