Project

General

Profile

Actions

Defect #3161

closed

wrong "self" and "alternate" links in issues feed

Added by Ве Fio about 15 years ago. Updated almost 15 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
Feeds
Target version:
Start date:
2009-04-12
Due date:
% Done:

0%

Estimated time:
Resolution:
Fixed
Affected version:

Description

In the Atom feed for a project's issues, <link rel="self"> points to the issues HTML page, and <link rel="alternate"> points to the homepage of the Redmine instance.

When I add the issues feed as a Firefox bookmark, the "alternate" link is displayed as Open "myproject: Tickets" in the context menu. When I click on it, I expect the Issues page to open, but what I get is Redmine's welcome page which is not so helpful.

Per the Atom spec, "self" should be the address of the Atom feed itself and "alternate" should be a link to an alternate version, in this case the HTML version.

Atom spec - The rel attribute

1. The value "alternate" signifies that the IRI in the value of the href attribute identifies an alternate version of the resource described by the containing element.

3. The value "self" signifies that the IRI in the value of the href attribute identifies a resource equivalent to the containing element.

Actions

Also available in: Atom PDF