Defect #10184
"source:" tag leads to broken link when used with specific git revision
| Status: | Closed | Start date: | ||
|---|---|---|---|---|
| Priority: | Normal | Due date: | ||
| Assignee: | - | % Done: | 0% | |
| Category: | - | |||
| Target version: | - | |||
| Affected version: | 1.2.2 | Resolution: | Invalid |
Description
source:/files/cluster.conf#L75
translates to:
.../cluster.conf#L75
and opens correctly:
Completed in 234ms (View: 139, DB: 2) | 200 OK [..../cluster.conf]
while
source:/files/cluster.conf#L75@40888b616b7cc27aea5f07d4807ab44c55401ba6
translates to:
..../40888b616b7cc27aea5f07d4807ab44c55401ba6/.../cluster.conf%23L75
and yields a 404 error:
Completed in 113ms (View: 53, DB: 4) | 404 Not Found [..../cluster.conf#L75]
When replacing %23 with # the url works again.
History
#1 Updated by Bernhard Furtmueller over 1 year ago
the problem actually exists here (with svn) as well:
source:/trunk/test/unit/lib/redmine/scm/adapters/git_adapter_test.rb#L20@8817
source:/trunk/test/unit/lib/redmine/scm/adapters/git_adapter_test.rb#L20
#2 Updated by Etienne Massip over 1 year ago
- Status changed from New to Closed
- Resolution set to Invalid
Simply put the line index at the end:
source:/trunk/test/unit/lib/redmine/scm/adapters/git_adapter_test.rb@8817#L20
#3 Updated by Bernhard Furtmueller over 1 year ago
BUMMER
I actually looked here:
http://www.redmine.org/projects/redmine/wiki/RedmineTextFormatting
But still I managed to mix up the order.
sorry for the noise.
thx,
bernhard