Actions
Defect #11717
closedRepository links: Spaces and multiple repositories don't mix.
Status:
Closed
Priority:
Normal
Assignee:
-
Category:
Text formatting
Target version:
-
Start date:
Due date:
% Done:
0%
Estimated time:
Resolution:
Invalid
Affected version:
Description
This may or may not be a bug depending on the precise specification, but I suppose it should work... When using Redmine links, I can either
- link to a file in a non-primary repository using
source:myrepository|/path/to/file
or - link to a file with spaces using
source:"path/with spaces/to file.txt"
It would appear logical that these two could be combined to form a link to a file with spaces in a non-primary respository using source:myrepository|"path/with spaces/to file.txt"
, but that is not recognized as a Redmine link (or at least, recognized only up to the | character). I suspect that the problem is with the giant regexp in parse_redmine_links
in `application_helper.rb`, but it is a little too intimidating for me to wade in there and attempt a fix myself.
Files
Updated by Etienne Massip about 12 years ago
source:"myrepository|/path/with spaces/to file.txt"
works on trunk, did you try it?
Updated by Thomas Themel about 12 years ago
- Status changed from New to Resolved
Thanks, that did it!
Updated by Etienne Massip about 12 years ago
- Status changed from Resolved to Closed
- Resolution set to Invalid
Actions