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
misc: make URL protocol matching regexes non-greedy
Saúl Ibarra Corretgé7c911eca96a6
diff --git a/react/features/base/util/uri.js b/react/features/base/util/uri.jsindex de9e9c4eab..31003e9983 100644--- a/react/features/base/util/uri.js+++ b/react/features/base/util/uri.js@@ -71,7 +71,7 @@ function _fixRoom(room: ?string) {* @returns {string}*/function _fixURIStringScheme(uri: string) {- const regex = new RegExp(`${URI_PROTOCOL_PATTERN}+`, 'gi');+ const regex = new RegExp(`${URI_PROTOCOL_PATTERN}+`, 'i');const match: Array<string> | null = regex.exec(uri);if (match) {diff --git a/react/features/deep-linking/functions.js b/react/features/deep-linking/functions.jsindex 0fe678cd05..6f55b01660 100644--- a/react/features/deep-linking/functions.js+++ b/react/features/deep-linking/functions.js@@ -45,7 +45,7 @@ export function generateDeepLinkingURL() {const appScheme = interfaceConfig.APP_SCHEME || 'org.jitsi.meet';const { href } = window.location;- const regex = new RegExp(URI_PROTOCOL_PATTERN, 'gi');+ const regex = new RegExp(URI_PROTOCOL_PATTERN, 'i');// Android: use an intent link, custom schemes don't work in all browsers.// https://developer.chrome.com/multidevice/android/intents