diff options
| author | Shadowghost <Ghost_of_Stone@web.de> | 2026-04-30 20:21:22 +0000 |
|---|---|---|
| committer | Cody Robibero <cody@ownerrez.com> | 2026-08-23 19:20:58 -0400 |
| commit | 911ac3769cdcce50a8f6e0b3c0739d509bd9a23f (patch) | |
| tree | 0f376bf6e94046f3ba9befce2f90293d794aae2c | |
| parent | 971be1b658ad0e5e1f06fdc652f9c5e3fc067c9b (diff) | |
Fix GHSA-9x85-gx46-6522
| -rw-r--r-- | Jellyfin.Api/Controllers/PlaylistsController.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Jellyfin.Api/Controllers/PlaylistsController.cs b/Jellyfin.Api/Controllers/PlaylistsController.cs index 048a49ffd4..9bfe0f2570 100644 --- a/Jellyfin.Api/Controllers/PlaylistsController.cs +++ b/Jellyfin.Api/Controllers/PlaylistsController.cs @@ -521,7 +521,7 @@ public class PlaylistsController : BaseJellyfinApiController [FromQuery] int? imageTypeLimit, [FromQuery, ModelBinder(typeof(CommaDelimitedCollectionModelBinder))] ImageType[] enableImageTypes) { - var callingUserId = userId ?? User.GetUserId(); + var callingUserId = RequestHelpers.GetUserId(User, userId); var playlist = _playlistManager.GetPlaylistForUser(playlistId, callingUserId); if (playlist is null) { |
