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(whiteboard) backend safe room hash
Mihaela Dumitru52822748560d
diff --git a/react/features/whiteboard/functions.ts b/react/features/whiteboard/functions.tsindex a04fbbd13b..bef5ff6fee 100644--- a/react/features/whiteboard/functions.ts+++ b/react/features/whiteboard/functions.ts@@ -6,7 +6,7 @@ import { getCurrentConference } from '../base/conference/functions';import { IWhiteboardConfig } from '../base/config/configType';import { getRemoteParticipants, isLocalParticipantModerator } from '../base/participants/functions';import { encodeToBase64URL } from '../base/util/httpUtils';-import { appendURLHashParam, appendURLParam } from '../base/util/uri';+import { appendURLHashParam, appendURLParam, getBackendSafePath } from '../base/util/uri';import { getCurrentRoomId, isInBreakoutRoom } from '../breakout-rooms/functions';import { MIN_USER_LIMIT, USER_LIMIT_THRESHOLD, WHITEBOARD_ID, WHITEBOARD_PATH_NAME } from './constants';@@ -98,7 +98,9 @@ export const getCollabServerUrl = (state: IReduxState): string | undefined => {const { locationURL } = state['features/base/connection'];const inBreakoutRoom = isInBreakoutRoom(state);const roomId = getCurrentRoomId(state);- const room = md5.hex(`${locationURL?.origin}${locationURL?.pathname}${inBreakoutRoom ? `|${roomId}` : ''}`);+ const room = md5.hex(+ `${locationURL?.origin}${getBackendSafePath(locationURL?.pathname)}${inBreakoutRoom ? `|${roomId}` : ''}`+ );return appendURLParam(collabServerBaseUrl, 'room', room);};