[ZBX-21973] X-Frame-Options HTTP header parameter can only accept sameorigin and deny Created: 2022 Nov 24 Updated: 2024 Apr 10 Resolved: 2024 Jan 30 |
|
Status: | Closed |
Project: | ZABBIX BUGS AND ISSUES |
Component/s: | Frontend (F) |
Affects Version/s: | 6.0.11rc1, 6.2.5rc1, 6.4.0beta4 |
Fix Version/s: | 6.0.26rc1, 6.4.11rc1, 7.0.0alpha9, 7.0 (plan) |
Type: | Problem report | Priority: | Minor |
Reporter: | Natalja Romancaka | Assignee: | Dmitrijs Fofanovs |
Resolution: | Fixed | Votes: | 1 |
Labels: | urlwidget, widget, xframe | ||
Remaining Estimate: | Not Specified | ||
Time Spent: | Not Specified | ||
Original Estimate: | Not Specified |
Attachments: |
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
||||||||
Issue Links: |
|
||||||||
Team: | |||||||||
Sprint: | Sprint 98 (Mar 2023), Sprint 99 (Apr 2023), Sprint 100 (May 2023), Sprint 101 (Jun 2023), Sprint 102 (Jul 2023), Sprint 103 (Aug 2023), Sprint 104 (Sep 2023), Sprint 105 (Oct 2023), Sprint 106 (Nov 2023), S2401-1, S2401-2 | ||||||||
Story Points: | 0.25 |
Description |
According to documentation "X-Frame-Options HTTP header" field can accept values: But only the SAMEORIGIN and DENY values actually work. Precondition: 1. "X-Frame-Options HTTP header" with null
Result: 2. "X-Frame-Options HTTP header" with hostname
Result: |
Comments |
Comment by Bartosz Mickiewicz (Inactive) [ 2022 Dec 07 ] |
Hi, The customer mentioned that without changing the code in layout.htmlpage.php the solution in the documentation doesn't work. So, the client introduced this change in his environment.
if ($data['config']['x_frame_options'] !== '') { to if ($data['config']['x_frame_options'] !== 'null') {
|
Comment by Dmitrijs Fofanovs [ 2023 Apr 03 ] |
Resolved in dev branch:
|
Comment by Dmitrijs Fofanovs [ 2023 Dec 14 ] |
Fixed in:
|
Comment by Arturs Dancis [ 2024 Jan 25 ] |
Documentation updated: |