View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0000731 | OXID eShop (all versions) | 3.1. Design, GUI, UX | public | 2009-03-20 17:18 | 2009-09-23 17:47 |
Reporter | marco_steinhaeuser | Assigned To | |||
Priority | normal | Severity | minor | Reproducibility | always |
Status | resolved | Resolution | no change required | ||
Product Version | 4.0.1.0 revision 15990 | ||||
Summary | 0000731: Media files: change header before download | ||||
Description | 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. | ||||
Tags | No tags attached. | ||||
Theme | |||||
Browser | All | ||||
PHP Version | 5.2.6 | ||||
Database Version | 5.0.33 | ||||
|
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. |