1
0
Fork 0
mirror of https://github.com/jellyfin/jellyfin-web synced 2025-03-30 19:56:21 +00:00

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

Fix chapter name XSS injection in progress bar

Original-merge: 7eb54e029f

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

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
});