Jitsi Meet - Secure, Simple and Scalable Video Conferences that you use as a standalone app or embed in your web application.
TypeScript debiandeep-videojitsijitsi-meetscalable-video-conferencessfuvideovideo-communicationvideo-conferencingwebrtc
fix: Fixes parsing hash params to be passed to tokenAuthUrl.
damencho47598222ce01
diff --git a/react/features/authentication/functions.any.ts b/react/features/authentication/functions.any.tsindex 1025e4b4d7..f47713ea38 100644--- a/react/features/authentication/functions.any.ts+++ b/react/features/authentication/functions.any.ts@@ -1,4 +1,5 @@import { IConfig } from '../base/config/configType';+import { parseURLParams } from '../base/util/parseURLParams';import { getBackendSafeRoomName } from '../base/util/uri';/**@@ -72,13 +73,13 @@ export const _getTokenAuthState = (state['config.startWithVideoMuted'] = true;}- const params = new URLSearchParams(locationURL.hash);+ const params = parseURLParams(locationURL, true);- for (const [ key, value ] of params) {+ for (const key of Object.keys(params)) {// we allow only config and interfaceConfig overrides in the stateif (key.startsWith('config.') || key.startsWith('interfaceConfig.')) {// @ts-ignore- state[key] = value;+ state[key] = params[key];}}