Project

General

Profile

Actions

Defect #34894

closed

User link using @ not working at the end of line

Added by Dmitry Makurin about 3 years ago. Updated about 3 years ago.

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

0%

Estimated time:
Resolution:
Fixed
Affected version:

Description

Redmine fails to parse mention like @jsmith. (with dot at the end)

At source:trunk/app/helpers/application_helper.rb#L1286 regex extracts full line with all extra sybmols like _-@. and thus can't fide a user with that login.

It only affects separator @, user:jsmith. or Thomas Lecavelier. works fine.

Small patch with fix and test in attachment.


Files

Actions

Also available in: Atom PDF