1
0
Fork 0
mirror of https://github.com/miniflux/v2.git synced 2025-09-10 18:51:01 +00:00

feat(rewrite): add parkablogs.com to the referer override list

This commit is contained in:
Frédéric Guillot 2025-06-16 20:24:10 -07:00
parent 237672a62c
commit da4ab4263c
3 changed files with 52 additions and 42 deletions

View file

@ -43,6 +43,11 @@ func TestGetRefererForURL(t *testing.T) {
url: "https://img.hellogithub.com/example.png",
expected: "https://hellogithub.com",
},
{
name: "Park Blogs",
url: "https://www.parkablogs.com/sites/default/files/2025/image.jpg",
expected: "https://www.parkablogs.com",
},
{
name: "Non-matching URL",
url: "https://example.com/image.jpg",