[bug] Redirect from /users/:nickname.rss goes to feed.atom, not feed.rss #390

Open
opened 2022-12-22 00:41:02 +00:00 by pzingg · 0 comments

Your setup

OTP

Extra details

Ubuntu 22.04, Elixir 1.13.4 (compiled with Erlang/OTP 25)

Version

8e5a88ed

PostgreSQL version

12

What were you trying to do?

Navigate to the Mastodon-compatible user feed URL. That is, for an Akkoma server hosted at https://akkoma.example.com, and for a local user "nickname", visit https://akkoma.example.com/users/nickname.rss

What did you expect to happen?

The server should redirect to the permalink for the feed, at https://akkoma.example.com/users/nickname/feed.rss

What actually happened?

The server redirected to https://akkoma.example.com/users/nickname/feed.atom, which is the permalink for the Atom 1.0 feed, not the RSS 2.0 feed.

The format ("rss") in the conn parameter is ignored in the function Pleroma.Web.Feed.UserController.feed_redirect/2 in lib/pleroma/web/feed/user_controller.ex.

Logs

No response

Severity

I cannot use the software

Have you searched for this issue?

  • I have double-checked and have not found this issue mentioned anywhere.
### Your setup OTP ### Extra details Ubuntu 22.04, Elixir 1.13.4 (compiled with Erlang/OTP 25) ### Version 8e5a88ed ### PostgreSQL version 12 ### What were you trying to do? Navigate to the Mastodon-compatible user feed URL. That is, for an Akkoma server hosted at https://akkoma.example.com, and for a local user "nickname", visit https://akkoma.example.com/users/nickname.rss ### What did you expect to happen? The server should redirect to the permalink for the feed, at https://akkoma.example.com/users/nickname/feed.rss ### What actually happened? The server redirected to https://akkoma.example.com/users/nickname/feed.atom, which is the permalink for the Atom 1.0 feed, not the RSS 2.0 feed. The format ("rss") in the `conn` parameter is ignored in the function `Pleroma.Web.Feed.UserController.feed_redirect/2` in lib/pleroma/web/feed/user_controller.ex. ### Logs _No response_ ### Severity I cannot use the software ### Have you searched for this issue? - [x] I have double-checked and have not found this issue mentioned anywhere.
pzingg added the
bug
label 2022-12-22 00:41:02 +00:00
Sign in to join this conversation.
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: AkkomaGang/akkoma#390
No description provided.