Actions
action #176913
closedopenQA Project (public) - coordination #154768: [saga][epic][ux] State-of-art user experience for openQA
openQA Project (public) - coordination #157345: [epic] Improved test reviewer user experience
Ensure logs attached to openQA are opened in new tabs instead of being downloaded size:S
Status:
Resolved
Priority:
Normal
Assignee:
Category:
-
Target version:
Start date:
Due date:
% Done:
0%
Estimated time:
Tags:
Description
Observation¶
https://suse.slack.com/archives/C02CANHLANP/p1739184023726149 - Petr and Oli complained about their browser downloading plain text files instead of displaying them. We should help their browsers to make the right decision for openQA assets.
In Chrome(ium) this seems to happen because of MIME sniffing. https://stackoverflow.com/a/9660578 describes possible solutions. I think the cleanest and easiest would be X-Content-Type-Options: nosniff
on our webserver config.
Acceptance criteria¶
- AC1: Chromium-based browsers don't prompt for downloading plain text files (and just show them)
Suggestions¶
- Add
X-Content-Type-Options: nosniff
to the appropriate nginx config- Consider up-streaming it if useful for others
- Change openQA to only write valid data into logfiles
- Is this really what we want? Is it still a "logfile" then if we manipulate it?
Actions