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] Handle multiple schemes/protocol in URLs

Lyubo Marinovc259551d9a4a
diff --git a/react/features/base/util/uri.js b/react/features/base/util/uri.js
index a963bd56cf..6957a88252 100644
--- a/react/features/base/util/uri.js
+++ b/react/features/base/util/uri.js
@@ -356,7 +356,7 @@ export function toURLString(obj: ?(string | Object)): ?string {
* {@code Object}.
*/
export function urlObjectToString(o: Object): ?string {
- const url = parseStandardURIString(o.url || '');
+ const url = parseStandardURIString(_fixURIStringScheme(o.url || ''));
// protocol
if (!url.protocol) {