[PR #5987] [MERGED] PathExtensions: Fix index out of bounds in TryReplaceSubPath #10766

Closed
opened 2026-02-07 06:26:14 +03:00 by OVERLORD · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/jellyfin/jellyfin/pull/5987
Author: @Bond-009
Created: 5/5/2021
Status: Merged
Merged: 5/5/2021
Merged by: @Bond-009

Base: masterHead: ioob


📝 Commits (1)

  • 47e7c13 PathExtensions: Fix index out of bounds in TryReplaceSubPath

📊 Changes

2 files changed (+9 additions, -2 deletions)

View changed files

📝 Emby.Server.Implementations/Library/PathExtensions.cs (+8 -2)
📝 tests/Jellyfin.Server.Implementations.Tests/Library/PathExtensionsTests.cs (+1 -0)

📄 Description

Fixes #5977


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/jellyfin/jellyfin/pull/5987 **Author:** [@Bond-009](https://github.com/Bond-009) **Created:** 5/5/2021 **Status:** ✅ Merged **Merged:** 5/5/2021 **Merged by:** [@Bond-009](https://github.com/Bond-009) **Base:** `master` ← **Head:** `ioob` --- ### 📝 Commits (1) - [`47e7c13`](https://github.com/jellyfin/jellyfin/commit/47e7c1356c1364e5e834ce37cd4a9ace5e2d838e) PathExtensions: Fix index out of bounds in TryReplaceSubPath ### 📊 Changes **2 files changed** (+9 additions, -2 deletions) <details> <summary>View changed files</summary> 📝 `Emby.Server.Implementations/Library/PathExtensions.cs` (+8 -2) 📝 `tests/Jellyfin.Server.Implementations.Tests/Library/PathExtensionsTests.cs` (+1 -0) </details> ### 📄 Description Fixes #5977 --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
OVERLORD added the pull-request label 2026-02-07 06:26:14 +03:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/jellyfin#10766