diff --git a/react/features/base/util/uri.js b/react/features/base/util/uri.js index 2022a4170..e12e7fd02 100644 --- a/react/features/base/util/uri.js +++ b/react/features/base/util/uri.js @@ -177,6 +177,9 @@ export function parseStandardURIString(str: string) { let regex; let match: Array | null; + // cleanup spaces + str = str.replace(/\s/g, ''); + // protocol regex = new RegExp(`^${_URI_PROTOCOL_PATTERN}`, 'gi'); match = regex.exec(str);