Patch #2341
Underscore support for Redmine
Start date:
15 Oct 2014
Due date:
% Done:
0%
Redmine version:
External issue:
Description
Simple patch fixing the issue, but dropping the compatibility with old redmine:
=================================================================== --- project_alias.rb (revision 19) +++ project_alias.rb (working copy) @@ -4,7 +4,7 @@ if defined? ChiliProject IDENTIFIER_RE = /^(?!\d+$)[a-z0-9\-_]*$/ else - IDENTIFIER_RE = /^(?!\d+$)[a-z0-9\-]*$/ + IDENTIFIER_RE = /^(?!\d+$)[a-z0-9\-_]*$/ end validates_presence_of :project, :alias
History
#1 Updated by Ingvarr Zhmakin about 10 years ago
Sorry. Forgotten preformat.
=================================================================== --- project_alias.rb (revision 19) +++ project_alias.rb (working copy) @@ -4,7 +4,7 @@ if defined? ChiliProject IDENTIFIER_RE = /^(?!\d+$)[a-z0-9\-_]*$/ else - IDENTIFIER_RE = /^(?!\d+$)[a-z0-9\-]*$/ + IDENTIFIER_RE = /^(?!\d+$)[a-z0-9\-_]*$/ end validates_presence_of :project, :alias
#2 Updated by Andriy Lesyuk over 8 years ago
- Description updated (diff)
#3 Updated by Andriy Lesyuk over 8 years ago
- Status changed from New to Under Verification
- Target version set to 0.1.1