diff options
| author | theguymadmax <171496228+theguymadmax@users.noreply.github.com> | 2025-10-27 15:43:30 -0400 |
|---|---|---|
| committer | Bond_009 <bond.009@outlook.com> | 2025-10-27 15:43:30 -0400 |
| commit | 28b0657608e144dead4100e6b3d89ccea763a5cf (patch) | |
| tree | 5668e31d1e035236aaf95b219c1dea227e2991b3 | |
| parent | a489942454218fc968baf7858ee00ee9141ebfb5 (diff) | |
Backport pull request #15217 from jellyfin/release-10.11.z
Normalize paths in database queries
Original-merge: 75f472e6a78a7516927078238d102f9eff95b7a3
Merged-by: crobibero <cody@robibe.ro>
Backported-by: Bond_009 <bond.009@outlook.com>
| -rw-r--r-- | Jellyfin.Server.Implementations/Item/BaseItemRepository.cs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Jellyfin.Server.Implementations/Item/BaseItemRepository.cs b/Jellyfin.Server.Implementations/Item/BaseItemRepository.cs index 8319bfd94..b939c4ab2 100644 --- a/Jellyfin.Server.Implementations/Item/BaseItemRepository.cs +++ b/Jellyfin.Server.Implementations/Item/BaseItemRepository.cs @@ -1763,7 +1763,8 @@ public sealed class BaseItemRepository if (!string.IsNullOrWhiteSpace(filter.Path)) { - baseQuery = baseQuery.Where(e => e.Path == filter.Path); + var pathToQuery = GetPathToSave(filter.Path); + baseQuery = baseQuery.Where(e => e.Path == pathToQuery); } if (!string.IsNullOrWhiteSpace(filter.PresentationUniqueKey)) |
