소스 검색

[RN] Handle multiple schemes/protocol in URLs

master
Lyubo Marinov 7 년 전
부모
커밋
c259551d9a
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1
    1
      react/features/base/util/uri.js

+ 1
- 1
react/features/base/util/uri.js 파일 보기

@@ -356,7 +356,7 @@ export function toURLString(obj: ?(string | Object)): ?string {
356 356
  * {@code Object}.
357 357
  */
358 358
 export function urlObjectToString(o: Object): ?string {
359
-    const url = parseStandardURIString(o.url || '');
359
+    const url = parseStandardURIString(_fixURIStringScheme(o.url || ''));
360 360
 
361 361
     // protocol
362 362
     if (!url.protocol) {

Loading…
취소
저장