mirror of
https://gitcode.com/GitHub_Trending/ji/jitsi-meet.git
synced 2025-12-30 11:22:31 +00:00
(fix): Do not allow external css customization for static prejoin
This prevents CSS spoofing.
This commit is contained in:
@@ -16,10 +16,6 @@
|
||||
const showAvatar = params.get('showAvatar') === 'true';
|
||||
const showJoinActions = params.get('showJoinActions') === 'true';
|
||||
const showSkipPrejoin = params.get('showSkipPrejoin') === 'true';
|
||||
const css = params.get('style');
|
||||
const style = document.createElement('style');
|
||||
style.appendChild(document.createTextNode(css));
|
||||
document.head.appendChild(style);
|
||||
|
||||
JitsiMeetJS.app.renderEntryPoint({
|
||||
Component: JitsiMeetJS.app.entryPoints.PREJOIN,
|
||||
|
||||
Reference in New Issue
Block a user