プロジェクト

全般

プロフィール

Vote #66900

完了

Cannot use certain characters for user and role names.

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

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

0%

予定工数:
category_id:
8
version_id:
27
issue_org_id:
5152
author_id:
13550
assigned_to_id:
0
comments:
4
status_id:
5
tracker_id:
1
plus1:
0
affected_version:
closed_on:
affected_version_id:
17
ステータス-->[Closed]

説明

When I try to use certain characters for a role- or user-name, the naming fails with the error message Name is invalid.

These characters include @{}[]:/()|@@, probably more; @ _-@ are working fine.

This prevents me from using names in the form @User Name (Info)@ or @Role [Qualifier]@.

I expect this to be a global validation thing.

Furthermore I could not find any information on which characters are valid and which are not.


journals

First- and last names are checked against @/^[\w\s\'\-\.]*$/i@, i.e. letters, spaces, dashes, dots and apostrophes are allowed. I'm not a big fan of limiting names in any ways, but it seems everyone gets by.

Role names are checked against @/^[\w\s\'\-]*$/i@ i.e. the same without the dots, I'll try to bubble up the topic at some developer meeting to see if there was a reason for limiting them so drastically.
--------------------------------------------------------------------------------
I don't understand the reason for that limitation too.
+1
--------------------------------------------------------------------------------
Limitation removed in r4599.
--------------------------------------------------------------------------------

--------------------------------------------------------------------------------


related_issues

relates,Closed,4307,Models fails to validate localized field names since ruby 1.9.1p343 and 1.9.2p

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

  • カテゴリAdministration_8 にセット
  • 対象バージョン1.2.0_27 にセット

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

いいね!0
いいね!0