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
Revert "misc: make URL protocol matching regexes non-greedy"
Saúl Ibarra Corretgé6f95c50d6ee4
diff --git a/react/features/base/util/uri.js b/react/features/base/util/uri.jsindex 31003e9983..de9e9c4eab 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}+`, 'i');+ const regex = new RegExp(`${URI_PROTOCOL_PATTERN}+`, 'gi');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 6f55b01660..0fe678cd05 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, 'i');+ const regex = new RegExp(URI_PROTOCOL_PATTERN, 'gi');// Android: use an intent link, custom schemes don't work in all browsers.// https://developer.chrome.com/multidevice/android/intents