mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-07-16 05:43:54 +03:00
[PR #11351] fix: fix off-by-one error in GetAttributeValue
#12853
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Original Pull Request: https://github.com/jellyfin/jellyfin/pull/11351
State: closed
Merged: Yes
Changes
The
GetAttributeValueextension will currently fail with ids in the single digit, because it's using a length in a place where it should be an index.@fearnlj01 helped me debug an issue with a copy of this extension used in the Shokofin plugin, where it failed to recognize single digit ids, which in turn has lead to this PR to fix it upstream.
Issues
-