[PR #12698] [MERGED] Sanitize CustomTagDelimiters server side #13327

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

📋 Pull Request Information

Original PR: https://github.com/jellyfin/jellyfin/pull/12698
Author: @gnattu
Created: 9/24/2024
Status: Merged
Merged: 9/24/2024
Merged by: @nielsvanvelzen

Base: masterHead: fix-libraryoptions-api


📝 Commits (2)

  • 00ca4ab Sanitize CustomTagDelimiters server side
  • 0ffddac Move GetCustomTagDelimiters to Extension

📊 Changes

3 files changed (+39 additions, -6 deletions)

View changed files

📝 MediaBrowser.Model/Configuration/LibraryOptions.cs (+3 -3)
MediaBrowser.Model/Extensions/LibraryOptionsExtension.cs (+32 -0)
📝 MediaBrowser.Providers/MediaInfo/AudioFileProber.cs (+4 -3)

📄 Description

The API requires an array type and does not support runtime generated default value. Use server side helper function to sanitize it into char.

Changes

Issues


🔄 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/12698 **Author:** [@gnattu](https://github.com/gnattu) **Created:** 9/24/2024 **Status:** ✅ Merged **Merged:** 9/24/2024 **Merged by:** [@nielsvanvelzen](https://github.com/nielsvanvelzen) **Base:** `master` ← **Head:** `fix-libraryoptions-api` --- ### 📝 Commits (2) - [`00ca4ab`](https://github.com/jellyfin/jellyfin/commit/00ca4abbe1138d880fca36e1f99da14e6fab252a) Sanitize CustomTagDelimiters server side - [`0ffddac`](https://github.com/jellyfin/jellyfin/commit/0ffddacf11795b8a50606b6515c1dc6828ad8dd0) Move GetCustomTagDelimiters to Extension ### 📊 Changes **3 files changed** (+39 additions, -6 deletions) <details> <summary>View changed files</summary> 📝 `MediaBrowser.Model/Configuration/LibraryOptions.cs` (+3 -3) ➕ `MediaBrowser.Model/Extensions/LibraryOptionsExtension.cs` (+32 -0) 📝 `MediaBrowser.Providers/MediaInfo/AudioFileProber.cs` (+4 -3) </details> ### 📄 Description The API requires an array type and does not support runtime generated default value. Use server side helper function to sanitize it into char. <!-- 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 # --> --- <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:11:02 +03:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/jellyfin#13327