Project

General

Profile

Actions

Defect #30850

closed

Unified diff link broken on specific file/revision diff view

Added by Anthony Mallet about 5 years ago. Updated almost 5 years ago.

Status:
Closed
Priority:
Normal
Category:
SCM
Target version:
Start date:
Due date:
% Done:

0%

Estimated time:
Resolution:
Fixed
Affected version:

Description

Clicking on the "Unified diff" link at the bottom of a diff page of a specific revision doesn't work anymore.

For a git revision, it simply produces a "Page not found" error.

Url are like 'https://.../projects/:project_id/repository/:repository_id/revisions/:rev/diff.diff, the last component is interpreted as a (/*path) according to routes.rb (lines 250 and 258)

This was fixed in issue #11325 (revision 9909), but was broken in 4.0.1 again.


Related issues

Related to Redmine - Defect #31141: SCM: error when *.yml and *.txt showClosed

Actions
Related to Redmine - Defect #32449: Diff view for .js files in repositories is brokenClosedGo MAEDA

Actions
Actions

Also available in: Atom PDF