You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When portainer is hosted behind another Nginx server that defines its own X-XSS-Protection header then those two headers get merged by in the browser (Chrome in my case). Since your version of the header doesnt have semicolon in the end it will cause an error and force Chrome to ignore both headers.
A good fix would be to add the semicolons so browsers can correctly parse duplicate headers.
This discussion was converted from issue #3152 on July 27, 2023 04:27.
Heading
Bold
Italic
Quote
Code
Link
Numbered list
Unordered list
Task list
Attach files
Mention
Reference
Menu
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
When portainer is hosted behind another Nginx server that defines its own X-XSS-Protection header then those two headers get merged by in the browser (Chrome in my case). Since your version of the header doesnt have semicolon in the end it will cause an error and force Chrome to ignore both headers.
A good fix would be to add the semicolons so browsers can correctly parse duplicate headers.
Beta Was this translation helpful? Give feedback.
All reactions