Backport pull request #5563 from jellyfin-web/release-10.9.z

Fix chapter name XSS injection in progress bar

Original-merge: 7eb54e029f2316caf893126e9647a03165b10e84

Merged-by: thornbill <thornbill@users.noreply.github.com>

Backported-by: Joshua M. Boniface <joshua@boniface.me>
This commit is contained in:
nielsvanvelzen
2024-05-25 11:50:39 -04:00
committed by Joshua M. Boniface
parent 94f34ddd13
commit 9cf57574fb
2 changed files with 2 additions and 18 deletions
-1
View File
@@ -1843,7 +1843,6 @@ export default function (view) {
if (item?.Chapters?.length) {
item.Chapters.forEach(currentChapter => {
markers.push({
className: 'chapterMarker',
name: currentChapter.Name,
progress: currentChapter.StartPositionTicks / item.RunTimeTicks
});