Skip to content

Jitsi Meet - Secure, Simple and Scalable Video Conferences that you use as a standalone app or embed in your web application.

[RN] Fix the parsing of the domain out of a URL

Lyubomir Marinov3743602c6772
diff --git a/react/features/app/functions.native.js b/react/features/app/functions.native.js
index b58be8ad28..8f03e7bcae 100644
--- a/react/features/app/functions.native.js
+++ b/react/features/app/functions.native.js
@@ -203,7 +203,7 @@ export function _parseURIString(uri) {
regex = new RegExp(`^${_URI_AUTHORITY_PATTERN}`, 'gi');
match = regex.exec(str);
if (match) {
- let authority = match[1];
+ let authority = match[1].substring(/* // */ 2);
str = str.substring(regex.lastIndex);