[PR #12443] [MERGED] Check attachment path for null before use #13201

Closed
opened 2026-02-07 07:08:50 +03:00 by OVERLORD · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/jellyfin/jellyfin/pull/12443
Author: @gnattu
Created: 8/14/2024
Status: Merged
Merged: 8/14/2024
Merged by: @Bond-009

Base: release-10.9.zHead: check-attach-path-for-null


📝 Commits (1)

  • 486c7fa Check attachment path for null before use

📊 Changes

1 file changed (+2 additions, -1 deletions)

View changed files

📝 MediaBrowser.MediaEncoding/Attachments/AttachmentExtractor.cs (+2 -1)

📄 Description

This one is particularly nasty because the Path is not supposed to be nullable. However, fixing it in the parser and type constructor is beyond the scope of the 10.9 release. For now, just check with IsNullOrEmpty.

Changes

Issues

Fixes #12441


🔄 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/12443 **Author:** [@gnattu](https://github.com/gnattu) **Created:** 8/14/2024 **Status:** ✅ Merged **Merged:** 8/14/2024 **Merged by:** [@Bond-009](https://github.com/Bond-009) **Base:** `release-10.9.z` ← **Head:** `check-attach-path-for-null` --- ### 📝 Commits (1) - [`486c7fa`](https://github.com/jellyfin/jellyfin/commit/486c7fa51e3ec5f3cbe2aa0b5ab509e2284aeb93) Check attachment path for null before use ### 📊 Changes **1 file changed** (+2 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `MediaBrowser.MediaEncoding/Attachments/AttachmentExtractor.cs` (+2 -1) </details> ### 📄 Description This one is particularly nasty because the `Path` is not supposed to be nullable. However, fixing it in the parser and type constructor is beyond the scope of the 10.9 release. For now, just check with `IsNullOrEmpty`. <!-- Ensure your title is short, descriptive, and in the imperative mood (Fix X, Change Y, instead of Fixed X, Changed Y). For a good inspiration of what to write in commit messages and PRs please review https://chris.beams.io/posts/git-commit/ and our documentation. --> **Changes** <!-- Describe your changes here in 1-5 sentences. --> **Issues** <!-- Tag any issues that this PR solves here. ex. Fixes # --> Fixes #12441 --- <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 07:08:50 +03:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/jellyfin#13201