Actions
Defect #16668
closedRedmine links broken when object name contains special characters
Start date:
Due date:
% Done:
0%
Estimated time:
Resolution:
Fixed
Affected version:
Description
When attaching files with special characters (ampersand is an example), the attachment link does not work:
attachment:"Test & Show.txt"
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.
Environment: Redmine version 2.5.0.stable Ruby version 1.9.3-p231 (2012-05-25) [i386-mingw32] Rails version 3.2.17 Environment production Database adapter Mysql2 SCM: Subversion 1.8.4 Perforce 2013.1 Git 1.8.5.2
Files
Actions