mirror of
https://github.com/redmine/redmine.git
synced 2026-01-27 01:39:58 +01:00
Merged r20936 from trunk to 4.2-stable (#34894).
git-svn-id: http://svn.redmine.org/redmine/branches/4.2-stable@20942 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
@@ -1283,7 +1283,7 @@ module ApplicationHelper
|
||||
)|
|
||||
(
|
||||
(?<sep4>@)
|
||||
(?<identifier3>[A-Za-z0-9_\-@\.]*)
|
||||
(?<identifier3>[A-Za-z0-9_\-@\.]*?)
|
||||
)
|
||||
)
|
||||
(?=
|
||||
|
||||
@@ -521,6 +521,7 @@ class ApplicationHelperTest < Redmine::HelperTest
|
||||
'user:JSMITH' => link_to_user(User.find_by_id(2)),
|
||||
'user#2' => link_to_user(User.find_by_id(2)),
|
||||
'@jsmith' => link_to_user(User.find_by_id(2)),
|
||||
'@jsmith.' => "#{link_to_user(User.find_by_id(2))}.",
|
||||
'@JSMITH' => link_to_user(User.find_by_id(2)),
|
||||
'@abcd@example.com' => link_to_user(User.find_by_id(u_email_id)),
|
||||
'user:abcd@example.com' => link_to_user(User.find_by_id(u_email_id)),
|
||||
|
||||
Reference in New Issue
Block a user