Преглед на файлове

(fix): Do not allow external css customization for static prejoin

This prevents CSS spoofing.
master
Vlad Piersec преди 4 години
родител
ревизия
f82d46337b
променени са 1 файла, в които са добавени 0 реда и са изтрити 4 реда
  1. 0
    4
      static/prejoin.html

+ 0
- 4
static/prejoin.html Целия файл

@@ -16,10 +16,6 @@
16 16
           const showAvatar = params.get('showAvatar') === 'true';
17 17
           const showJoinActions = params.get('showJoinActions') === 'true';
18 18
           const showSkipPrejoin = params.get('showSkipPrejoin') === 'true';
19
-          const css = params.get('style');
20
-          const style = document.createElement('style');
21
-          style.appendChild(document.createTextNode(css));
22
-          document.head.appendChild(style);
23 19
 
24 20
           JitsiMeetJS.app.renderEntryPoint({
25 21
               Component: JitsiMeetJS.app.entryPoints.PREJOIN,

Loading…
Отказ
Запис