Project

General

Profile

Actions

Defect #26443

closed

User link syntax (user:login) doesn't work for logins consisting of an email adress

Added by Mischa The Evil almost 7 years ago. Updated almost 6 years ago.

Status:
Closed
Priority:
Normal
Category:
Text formatting
Target version:
Start date:
Due date:
% Done:

0%

Estimated time:
Resolution:
Fixed
Affected version:

Description

From #4179#note-69:

Vu Anh wrote:

Seem it isn't working well with syntax "user:abc@example.com" (Login name contain "@" character)

I am able to confirm this issue. Important to note though, is that the short syntax (@login) works as it should.

I'll attach a patch which adds explicit test coverage for this issue. It showcases what works and, after re-enabling the commented-out assertions, what currently fails.

Patch and confirmation against source:/trunk@16479 (though it is present on 3.4.1 too).

Environment:

Environment:
  Redmine version                3.4.0.devel@r16479
  Ruby version                   2.3.3-p222 (2016-11-21) [x86_64-linux]
  Rails version                  4.2.8
  Environment                    production
  Database adapter               Mysql2
SCM:
  Subversion                     1.8.8
  Git                            1.9.1
  Filesystem                     
Redmine plugins:
  no plugin installed


Files


Related issues

Related to Redmine - Feature #4179: Link to user in wiki syntaxClosedJean-Philippe Lang2009-11-08

Actions
Blocks Redmine - Defect #26507: "attachment:filename" link syntax would not work if the file name contains "@"ClosedJean-Philippe Lang

Actions
Blocks Redmine - Defect #26892: Link to user in wiki syntax only works when login is written in lower caseClosedJean-Philippe Lang

Actions
Actions

Also available in: Atom PDF