Repository: redlib-org/redlib (language: rust)

Issue:
🐛 Bug Report: rss: Links are not proxied
## Describe the bug

Looking into rss feeds, I find these 
```xml
<item>
    ...
    <link>https://i.redd.it/o5i5ibzut6ce1.png</link>
    ....
</item>
```

## Steps to reproduce the bug

Look at a rss feed with image links, (right now) /r/emulation.rss

```xml
<item>
<title>WinDurango, The First Xbox One Compatibility Later, has just booted into Minecraft.</title>
<link>https://i.redd.it/o5i5ibzut6ce1.png</link>
<description>
<![CDATA[ <a href='/r/emulation/comments/1hy7e3d/windurango_the_first_xbox_one_compatibility_later/'>Comments</a> ]]>
</description>
<author>SpezFU</author>
<content:encoded>
<![CDATA[ ]]>
</content:encoded>
</item>
```

## What's the expected behavior?

proxy() should wrap these links too


<!-- Mandatory -->
- [x] I checked that the instance that this was reported on is running the latest git commit, or I can reproduce it locally on the latest git commit


Discussion / hints:

Fix patch:
diff --git a/src/subreddit.rs b/src/subreddit.rs
index 88aa542e..cf286f47 100644
--- a/src/subreddit.rs
+++ b/src/subreddit.rs
@@ -496,7 +496,7 @@ pub async fn rss(req: Request<Body>) -> Result<Response<Body>, String> {
 				.into_iter()
 				.map(|post| Item {
 					title: Some(post.title.to_string()),
-					link: Some(utils::get_post_url(&post)),
+					link: Some(format_url(&utils::get_post_url(&post))),
 					author: Some(post.author.name),
 					content: Some(rewrite_urls(&post.body)),
 					description: Some(format!(
diff --git a/src/user.rs b/src/user.rs
index 50a4daa1..ac339db0 100644
--- a/src/user.rs
+++ b/src/user.rs
@@ -163,7 +163,7 @@ pub async fn rss(req: Request<Body>) -> Result<Response<Body>, String> {
 				.into_iter()
 				.map(|post| Item {
 					title: Some(post.title.to_string()),
-					link: Some(utils::get_post_url(&post)),
+					link: Some(format_url(&utils::get_post_url(&post))),
 					author: Some(post.author.name),
 					content: Some(rewrite_urls(&post.body)),
 					..Default::default()


Test patch: