diff options
author | Chocobozzz <me@florianbigard.com> | 2022-11-15 14:41:55 +0100 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2022-11-15 14:41:55 +0100 |
commit | 4638cd713dcdd007cd7f49b9a95fa62ac7823e7c (patch) | |
tree | 3e341c6ebbd1ce9e2bbacd72e7e3793e0bd467c2 /client | |
parent | 6bcb559fc9a491fc3ce83e7c077ee9dc742b1d63 (diff) | |
download | PeerTube-4638cd713dcdd007cd7f49b9a95fa62ac7823e7c.tar.gz PeerTube-4638cd713dcdd007cd7f49b9a95fa62ac7823e7c.tar.zst PeerTube-4638cd713dcdd007cd7f49b9a95fa62ac7823e7c.zip |
Don't inject untrusted input
Even if it's already checked in middlewares
It's better to have safe modals too
Diffstat (limited to 'client')
-rw-r--r-- | client/src/assets/player/shared/manager-options/manager-options-builder.ts | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/client/src/assets/player/shared/manager-options/manager-options-builder.ts b/client/src/assets/player/shared/manager-options/manager-options-builder.ts index 4d227eb2a..c820d637b 100644 --- a/client/src/assets/player/shared/manager-options/manager-options-builder.ts +++ b/client/src/assets/player/shared/manager-options/manager-options-builder.ts | |||
@@ -105,8 +105,6 @@ export class ManagerOptionsBuilder { | |||
105 | Object.assign(videojsOptions, { language: commonOptions.language }) | 105 | Object.assign(videojsOptions, { language: commonOptions.language }) |
106 | } | 106 | } |
107 | 107 | ||
108 | console.log(videojsOptions) | ||
109 | |||
110 | return videojsOptions | 108 | return videojsOptions |
111 | } | 109 | } |
112 | 110 | ||