From a702e7297351acf4dda4ea31e641acee5998fe1f Mon Sep 17 00:00:00 2001 From: npeter83 Date: Sun, 16 Aug 2026 18:45:47 +0200 Subject: [PATCH] fix(plex): replace stray NUL byte with a space in the duration sentinel MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit PlexSidebar.tsx carried a literal 0x00 byte in the duration-filter FilterChipGroup's off-bucket sentinel (`... ? "" : "\0"`), where a normal space was intended. Functionally inert (both the NUL and a space match no bucket option, so a set-but-off-bucket duration selects nothing), but a NUL in source is corruption — replaced with an ASCII space. No NUL bytes remain in src. --- frontend/src/components/PlexSidebar.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/src/components/PlexSidebar.tsx b/frontend/src/components/PlexSidebar.tsx index d4035efa..1133e502 100644 --- a/frontend/src/components/PlexSidebar.tsx +++ b/frontend/src/components/PlexSidebar.tsx @@ -336,7 +336,7 @@ export default function PlexSidebar({ layout, setLayout, collapsed, onToggleColl // duration (e.g. stale state after a bucket-boundary change) selects nothing, not "Any". value={ durBucketKey ?? - (filters.durationMin == null && filters.durationMax == null ? "" : "") + (filters.durationMin == null && filters.durationMax == null ? "" : " ") } options={[ { value: "", label: t("plex.filter.any") },