v2 icon indicating copy to clipboard operation
v2 copied to clipboard

rewrite rules behaviour

Open gilcu3 opened this issue 1 year ago • 2 comments

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?

gilcu3 avatar Dec 22 '23 09:12 gilcu3

Confirming this bug: url rewriting should effect the external url link

BeeFox-sys avatar Apr 18 '24 14:04 BeeFox-sys

Same here, showing up correctly in debug logs, but External Link stays the same.

hanzoh avatar Jul 04 '24 14:07 hanzoh