プロジェクト

全般

プロフィール

Vote #63621

完了

Nice human-friendly URL for the file module

Admin Redmine さんがほぼ2年前に追加. ほぼ2年前に更新.

ステータス:
Closed
優先度:
通常
担当者:
-
カテゴリ:
Attachments_19
対象バージョン:
開始日:
2008/07/15
期日:
進捗率:

100%

予定工数:
category_id:
19
version_id:
2
issue_org_id:
1649
author_id:
1096
assigned_to_id:
0
comments:
5
status_id:
5
tracker_id:
2
plus1:
0
affected_version:
closed_on:
affected_version_id:
ステータス-->[Closed]

説明

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.


journals

We could use this URL pattern:

/download/45/filename.ext

What do you think ?
--------------------------------------------------------------------------------
Yes, that would be perfect!
--------------------------------------------------------------------------------
Committed in r1686.
--------------------------------------------------------------------------------
I confirm. This is exactly what I wanted. Thanks a *very* lot!
--------------------------------------------------------------------------------
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?
--------------------------------------------------------------------------------

Admin Redmine さんがほぼ2年前に更新

  • カテゴリAttachments_19 にセット
  • 対象バージョン0.8_2 にセット

他の形式にエクスポート: Atom PDF

いいね!0
いいね!0