Actions
Defect #16668
closedRedmine links broken when object name contains special characters
Defect #16668:
Redmine links broken when object name contains special characters
Resolution:
Fixed
Affected version:
Description
When attaching files with special characters (ampersand is an example), the attachment link does not work:
Test & Show.txt
The regular expression in application_helper.rb, parse_redmine_links does parse the filename correctly but it seems that the code that compares attachments to the filename fails to match the two.
Files
Updated by Darth Vader over 12 years ago
The regular expression is located at:
source:trunk/app/helpers/application_helper.rb@12954#L748
And the source to associate the file name to the attachment is located at:
source:trunk/app/helpers/application_helper.rb@12954#L871
Updated by Jean-Philippe Lang over 12 years ago
- Subject changed from Attachment link broken when filename contains special characters to Redmine links broken when object name contains special characters
- Category set to Text formatting
- Status changed from New to Resolved
- Assignee set to Jean-Philippe Lang
- Target version set to 2.5.2
- Resolution set to Fixed
Fixed in r13106.
Updated by Jean-Philippe Lang over 12 years ago
- Status changed from Resolved to Closed
Merged.
Actions