Project

General

Profile

Actions

Defect #11717

closed

Repository links: Spaces and multiple repositories don't mix.

Added by Thomas Themel over 11 years ago. Updated over 11 years ago.

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

redmine-about.txt (671 Bytes) redmine-about.txt scripts/about output Thomas Themel, 2012-08-27 16:03
Actions #1

Updated by Etienne Massip over 11 years ago

source:"myrepository|/path/with spaces/to file.txt" works on trunk, did you try it?

Actions #2

Updated by Thomas Themel over 11 years ago

  • Status changed from New to Resolved

Thanks, that did it!

Actions #3

Updated by Etienne Massip over 11 years ago

  • Status changed from Resolved to Closed
  • Resolution set to Invalid
Actions

Also available in: Atom PDF