[RN] Handle multiple schemes/protocol in URLs
This commit is contained in:
parent
377be4272a
commit
c259551d9a
|
@ -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) {
|
||||
|
|
Loading…
Reference in New Issue