プロジェクト

全般

プロフィール

Vote #63110

完了

Unnecessary and inconsistent use of absolute URLs

Admin Redmine さんが3年以上前に追加. 3年以上前に更新.

ステータス:
Closed
優先度:
低め
担当者:
-
カテゴリ:
UI_10
対象バージョン:
開始日:
2008/04/27
期日:
進捗率:

0%

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

説明

Some URLs are absolute (i.e. http://myserver/foo) instead of relative to the base (i.e. /foo). This makes it tedious and difficult to run Redmine behind a proxy as the forwarder has to parse and alter the HTML on each page. Suggested solution is to use document-based URLs throughout for local pages. I believe the fix would be in render_menu in lib/redmine/menu_manager.rb.


journals

Fixed in r1384.
--------------------------------------------------------------------------------
Hi, it looks like this was incorrectly handled - the user is requesting that all urls be made local instead of absolute. Can you fix this so all links (/search, /projects, /login, /stylesheets, etc) be made local and not absolute?
--------------------------------------------------------------------------------
If this still exists, then it needs re-targetting as 0.7.1 has already been released. Or open a separate bug targeted for 0.7.2 or 0.8.

Cheers

Russell
--------------------------------------------------------------------------------

--------------------------------------------------------------------------------
The original request was about a few links with host name in the url. This is fixed.
Using Rails, links can not be relative (eg. ../logout).
--------------------------------------------------------------------------------

Admin Redmine さんが3年以上前に更新

  • カテゴリUI_10 にセット
  • 対象バージョン0.7.1_3 にセット

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

いいね!0
いいね!0