プロジェクト

全般

プロフィール

Vote #75134

完了

Repository identifiers can be reserved words

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

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

0%

予定工数:
category_id:
3
version_id:
84
issue_org_id:
16564
author_id:
3866
assigned_to_id:
1
comments:
4
status_id:
5
tracker_id:
1
plus1:
0
affected_version:
closed_on:
affected_version_id:
82
ステータス-->[Closed]

説明

A client of "Planio":https://plan.io has created a repository with the identifier @statistics@ and was unable to access that repository via the web UI. While investigating this issue, we discovered that the reserved words list for repository identifiers (source:/tags/2.5.1/app/models/repository.rb#L43) is incomplete (@browse@ and others are missing) or wrong (@stats@ should be @statistics@, @show@ is double).


journals

The attached patch fixes this and has a list of reserved words as per @rake routes | grep repository@ which should be complete. This doesn't handle possibly existing repos with those identifiers though.
--------------------------------------------------------------------------------

--------------------------------------------------------------------------------
Committed in r13127, thanks.
--------------------------------------------------------------------------------
Merged.
--------------------------------------------------------------------------------

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

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

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

いいね!0
いいね!0