Project

General

Profile

Actions

Defect #26507

closed

"attachment:filename" link syntax would not work if the file name contains "@"

Added by Go MAEDA over 6 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

A file name which contains "@" is treated as email address.

Probably all versions that support "attachment:filename" syntax are affected. redmine.org is also affected. Please see this example: wrong-attachment-link@2x.png

[Textile]

attachment:image@2x.png

[Expected output]

<a class="attachment" href="/attachments/***/image@2x.png">image@2x.png</a>

[Actual output]

attachment:<a class="email" href="mailto:image@2x.png">image@2x.png</a>


Files


Related issues

Related to Redmine - Defect #27968: Image filename for HDPI monitors (image@2x.jpg) are misrecognized as email addressClosedJean-Philippe Lang

Actions
Blocked by Redmine - Defect #26443: User link syntax (user:login) doesn't work for logins consisting of an email adressClosedMarius BĂLTEANU

Actions
Actions

Also available in: Atom PDF