Repository: miniflux/v2 (language: go)

Issue:
rewrite rules behaviour
Maybe this is a missunderstanding of mine, but as far I understood rewrite url rules should modify the external url from an item in a feed. I tested with a random rss and got the following:
feed: `https://lorem-rss.herokuapp.com/feed`
rewrite url rule: `rewrite("^http:\/\/example\.com\/(.*)$"|"https://aa.com/$1")`
In the log I see the rule applied correctly:
```
Dec 22 10:21:47 host miniflux[448041]: level=DEBUG msg="Rewriting entry URL" entry_id=0 original_entry_url=http://example.com/test/1703236680 rewritten_entry_url=https://aa.com/test/1703236680 feed_id=0 feed_url=https://lorem-rss.herokuapp.com/feed
```
But in the web interface the external url keeps pointing to the original url. Is this the expected behaviour?


Discussion / hints:
Confirming this bug: url rewriting should effect the external url link
Same here, showing up correctly in debug logs, but External Link stays the same.

Fix patch:
diff --git a/internal/reader/processor/processor.go b/internal/reader/processor/processor.go
index 53222a1f739..12ab44611e4 100644
--- a/internal/reader/processor/processor.go
+++ b/internal/reader/processor/processor.go
@@ -53,6 +53,7 @@ func ProcessFeedEntries(store *storage.Storage, feed *model.Feed, user *model.Us
 
 		pageBaseURL := ""
 		rewrittenURL := rewriteEntryURL(feed, entry)
+		entry.URL = rewrittenURL
 		entryIsNew := store.IsNewEntry(feed.ID, entry.Hash)
 		if feed.Crawler && (entryIsNew || forceRefresh) {
 			slog.Debug("Scraping entry",


Test patch: