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:
parent
94f34ddd13
commit
9cf57574fb
2 changed files with 2 additions and 18 deletions
|
@ -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
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue