Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

RSS feeds use relative links (missing instance address) #20864

Closed
Mikaela opened this issue Aug 19, 2022 · 0 comments · Fixed by #21229
Closed

RSS feeds use relative links (missing instance address) #20864

Mikaela opened this issue Aug 19, 2022 · 0 comments · Fixed by #21229
Labels

Comments

@Mikaela
Copy link
Contributor

Mikaela commented Aug 19, 2022

Description

The Gitea RSS links are relative, so they seem to be nonfunctional outside of web browsers assuming the links are meant to be clicked.

Example item from try.gitea.io:

    <item>
      <title>Mikaela pushed to &lt;a href=&#34;/Mikaela/gist-manual/src/branch/master&#34;&gt;master&lt;/a&gt; at &lt;a href=&#34;/Mikaela/gist-manual&#34;&gt;Mikaela/gist-manual&lt;/a&gt;</title>
      <link>/Mikaela/gist-manual/commit/b4c727723b718991367137c71e58d73a3869b25e</link>
      <description>&lt;a href=&#34;/Mikaela/gist-manual/commit/b4c727723b718991367137c71e58d73a3869b25e&#34;&gt;b4c727723b718991367137c71e58d73a3869b25e&lt;/a&gt;&#xA;matrix/m.room.join_rules: add FluffyChat to knock_restricted</description>
      <content:encoded><![CDATA[<a href="/Mikaela/gist-manual/commit/b4c727723b718991367137c71e58d73a3869b25e">b4c727723b718991367137c71e58d73a3869b25e</a>
matrix/m.room.join_rules: add FluffyChat to knock_restricted]]></content:encoded>
      <author>Mikaela</author>
      <guid>391174</guid>
      <pubDate>Sun, 07 Aug 2022 22:25:56 +0000</pubDate>
    </item>

I got this from curl -LO https://try.gitea.io/Mikaela.rss and the issue has been observed using Limnoria IRC bot and Maubot RSS plugin on Matrix.

Gitea Version

1.17.1

Can you reproduce the bug on the Gitea demo site?

Yes

Log Gist

N/A

Screenshots

N/A

Git Version

N/A

Operating System

N/A

How are you running Gitea?

N/A

Database

No response

techknowlogick added a commit that referenced this issue Sep 21, 2022
fixes #20864

Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
Co-authored-by: techknowlogick <techknowlogick@gitea.io>
KN4CK3R added a commit to KN4CK3R/gitea that referenced this issue Sep 26, 2022
fixes go-gitea#20864

Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
Co-authored-by: techknowlogick <techknowlogick@gitea.io>
@go-gitea go-gitea locked and limited conversation to collaborators May 3, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant