ソースを参照

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

master
Lyubomir Marinov 8年前
コミット
3743602c67
1個のファイルの変更1行の追加1行の削除
  1. 1
    1
      react/features/app/functions.native.js

+ 1
- 1
react/features/app/functions.native.js ファイルの表示

@@ -203,7 +203,7 @@ export function _parseURIString(uri) {
203 203
         regex = new RegExp(`^${_URI_AUTHORITY_PATTERN}`, 'gi');
204 204
         match = regex.exec(str);
205 205
         if (match) {
206
-            let authority = match[1];
206
+            let authority = match[1].substring(/* // */ 2);
207 207
 
208 208
             str = str.substring(regex.lastIndex);
209 209
 

読み込み中…
キャンセル
保存