Project

General

Profile

Actions

Feature #1649

closed

Nice human-friendly URL for the file module

Added by Thomas Capricelli over 16 years ago. Updated almost 14 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
Attachments
Target version:
Start date:
2008-07-15
Due date:
% Done:

100%

Estimated time:
Resolution:
Fixed

Description

The link in the 'file' module ends with "versions/download/6?attachment_id=45
It would be great to have the actual filename in the URL. My main concern is with gentoo ebuilds, which require the filename to be in the URL. But also when i need to point the user to the direct URL (not the web page with the url).
I dont know how hard this would be, i'm not much in web development.

Actions #1

Updated by Jean-Philippe Lang over 16 years ago

We could use this URL pattern:

/download/45/filename.ext

What do you think ?

Actions #2

Updated by Thomas Capricelli over 16 years ago

Yes, that would be perfect!

Actions #3

Updated by Jean-Philippe Lang over 16 years ago

  • Category changed from Documents to Attachments
  • Status changed from New to Closed
  • Target version set to 0.8
  • Resolution set to Fixed

Committed in r1686.

Actions #4

Updated by Thomas Capricelli about 16 years ago

  • % Done changed from 0 to 100

I confirm. This is exactly what I wanted. Thanks a very lot!

Actions #5

Updated by Florian Keclik almost 14 years ago

I know it's been some time since this issue was closed but we just migrated from redmine 0.7 to 1.0. Now this feature messed up all the links in the wiki to uploaded files.
When this feature was implemented was there also a script created that changes the old style links to the new style (e.g. in wiki pages)? Or do we have to change the links manually?

Actions

Also available in: Atom PDF