Defect #10184
closed"source:" tag leads to broken link when used with specific git revision
0%
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.
Updated by Bernhard Furtmueller almost 13 years 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
Updated by Etienne Massip almost 13 years 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
Updated by Bernhard Furtmueller almost 13 years 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