View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0005890 | SOGo | Web Mail | public | 2023-10-16 15:25 | 2023-10-16 15:25 |
Reporter | rof | Assigned To | |||
Priority | normal | Severity | minor | Reproducibility | always |
Status | new | Resolution | open | ||
Product Version | 5.9.0 | ||||
Summary | 0005890: Email attachments open in new tab during both viewing and downloading | ||||
Description | We have configured Firefox to open PDF attachments immediately in the browser. Unfortunately, this causes that when you click on the download button of an attachment, it still opens in a new tab (and additionally downloads in download mode). Unfortunately I can't say if this is related to Firefox 115.3esr or to SOGo 5.9, as both were released "at the same time". The request and response headers (Content-Type and Content-Disposition) look correct from my point of view. Maybe it can be fixed by passing "Content-Transfer-Encoding: binary" or changing to the unknown Content-Type "application/force-download" (potentially dangerous). But it seems to be easier to add the HTML attribute "download" to the link (https://www.w3schools.com/tags/att_a_download.asp). I hope this can solve the problem. | ||||
Tags | No tags attached. | ||||
Date Modified | Username | Field | Change |
---|---|---|---|
2023-10-16 15:25 | rof | New Issue |