Fallenbagel / jellyseerr

Fork of overseerr for jellyfin support.
https://docs.jellyseerr.dev/
MIT License
3.94k stars 250 forks source link

fix: rewrite avatarproxy and CachedImage #1016

Closed gauthier-th closed 1 month ago

gauthier-th commented 1 month ago

Description

Avatar proxy was allowing every request to be proxied, no matter the original ressource's origin or filetype. This PR fixes it be allowing only relevant resources to be cached, i.e. Jellyfin/Emby images and TMDB images.

Screenshot (if UI-related)

To-Dos

Issues Fixed or Closed

Fallenbagel commented 1 month ago

Tested. Seems to be working as intended

Fallenbagel commented 1 month ago

:tada: This PR is included in version 2.0.1 :tada:

The release is available on:

Your semantic-release bot :package::rocket: