mirror of
https://github.com/jellyfin/jellyfin-web.git
synced 2024-11-17 10:58:20 -07:00
Merge pull request #2676 from thornbill/fix-displaymessage-xss
This commit is contained in:
commit
70b41ff005
@ -22,7 +22,7 @@ export default function (options) {
|
||||
|
||||
const elem = document.createElement('div');
|
||||
elem.classList.add('toast');
|
||||
elem.innerHTML = options.text;
|
||||
elem.textContent = options.text;
|
||||
|
||||
document.body.appendChild(elem);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user