Project

General

Profile

Actions

Feature #27822

closed

Remove filename from attachment preview links

Added by Felix Schäfer over 6 years ago. Updated almost 6 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Attachments
Target version:
Start date:
Due date:
% Done:

0%

Estimated time:
Resolution:
Fixed

Description

Some of our users reported being confused by the attachment previews. The most common use-case was a variation of:
  1. right-click on the link of the attachment on the issue page,
  2. "save link as" to save the attachment to disk,
  3. send the saved file to a user not on the Redmine.

With the current URL scheme for attachment preview pages (/attachments/:id/:filename), when the users click the preview attachment link instead of the download attachment link, the resulting html file still has the filename of the attachment. If the user does not have a look at the attachment before using it for something else, the user might have downloaded the html preview page instead of the attachment itself.


Files

27822.patch (1.51 KB) 27822.patch Felix Schäfer, 2017-12-19 14:47
27822-tests.patch (3.82 KB) 27822-tests.patch Gregor Schmidt, 2018-07-09 16:02
Actions

Also available in: Atom PDF