Project

General

Profile

action #44564

Updated by okurz over 4 years ago

## Observation 

 ``` 
 [29/11/2018 22:40:21] <lurchi_> openqa started to serve *.tar.bz2 and *.tar.xz as Content-Type: text/plain 
 [29/11/2018 22:40:47] <lurchi_> *.iso and *.ogv have useful type (iso9660, video/ogg) 
 ``` 

 and I made the same observation some time ago. Can we check this? 

 ## Steps to reproduce 

 * Go to any completed job that has *.tar.bz2 or *.tar.xz in "Logs & Assets", e.g. https://openqa.opensuse.org/tests/latest?arch=x86_64&distri=opensuse&flavor=DVD&machine=64bit&test=gnome&version=Tumbleweed#downloads 
 * Check the content type of the archives: This depends on browsers and configured behaviour 

 ## Problem 

 Depending on browser configuration "text/plain" might be configured to be opened directly in the browser or be opened with a program to show plain text content. When clicking on compressed archives which are delivered as "text/plain" the browser can still, show binary garbage or crash client programs that try to handle this content 

 ## Expected result 

 Only files which really *are* plain text should be delivered as such

Back