Feature #1649

Nice human-friendly URL for the file module

Added by Thomas Capricelli 54 days ago. Updated 46 days ago.

Status:Closed Start:2008-07-15
Priority:Normal Due date:
Assigned to:- % Done:

0%

Category:Attachments
Target version:0.8
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.

Associated revisions

Revision 1686
Added by jplang 46 days ago

Appends the filename to the attachment url so that clients that ignore content-disposition http header get the real filename (#1649).

History

2008-07-19 12:52 - Jean-Philippe Lang

We could use this URL pattern:

/download/45/filename.ext

What do you think ?

2008-07-21 13:36 - Thomas Capricelli

Yes, that would be perfect!

2008-07-22 19:55 - Jean-Philippe Lang

  • 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.

Also available in: Atom PDF