プロジェクト

全般

プロフィール

Vote #63563

完了

link to a specific revision of a file doesn't work from revisions/show (fix included)

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

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

0%

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

説明

Redmine trunk / mysql / svn

The links to a specific revision of a file are escaped (apache2 proxy balancer blocks them and says file does not exist). Example:

http://server/repositories/entry/id/vendor%2Fplugins%2Fhaml%2Finit.rb

instead of

http://server/repositories/entry/id/vendor/plugins/haml/init.rb

--- app/views/repositories/revision.rhtml   (revision 1643)
+++ app/views/repositories/revision.rhtml   (working copy)
@@ -50,7 +50,7 @@
 <% if change.action == "D" -%>
     <%= change.path -%>
 <% else -%>
-    <%= link_to change.path, :action => 'entry', :id => @project, :path => without_leading_slash(change.relative_path), :rev => @changeset.revision -%>
+    <%= link_to change.path, :action => 'entry', :id => @project, :path => to_path_param(without_leading_slash(change.relative_path)), :rev => @changeset.revision -%>
 <% end -%>
 <%= "(#{change.revision})" unless change.revision.blank?  %>
 

journals

Applied in r1648.
--------------------------------------------------------------------------------

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

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

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

いいね!0
いいね!0