View Issue Details
|OXID eShop (all versions)
|3.1. Design, GUI, UX
|no change required
|22.214.171.124 revision 15990
|Fixed in Version
|0000731: Media files: change header before download
|In admin area you can add media files to the products; the file format can be everything there even .csv or .jpg.
Downloading this media files from the front end, in case of a .txt or .jpg the file is shown in the same browser window which seems to be not correct.
Change the header information from plain/text to streaming (?) to hand out a download even with txt or jpg files.
|No tags attached.
|The esiest solution would be adding .htaccess to media/ folder which forces all files in this folder output with "save as" dialog, but there is problem with Internet Explorer. IE7 does not correctly parses header info and opens files in his own way, so we cant use .htaccess for this task. So file output shoud be implemented in source code.
Handling of different file types from the source code side is quite large change and needs to be considered from different point of views (browsers, server environments, security, black/white lists, etc.). Maybe this can be implemented together with other new features requested in the shop.
So this should be considered in more details. Thus it is moved to customers whishlist and entry here is closed.