Closed wmathurin closed 4 years ago
parseUrl("https://asdasd:123/abc/de?a=b&c=d") => {hash: "", host: "asdasd:123", hostname: "asdasd", params: {a: "b", c: "d"}, path: "/abc/de", port: "123", protocol: "https:"}
parseUrl("/abc/de?a=b&c=d") => {hash: "", host: "", hostname: "", params: {a: "b", c: "d"}, path: "/abc/de", port: "", protocol: ""}
Addressing https://github.com/forcedotcom/SalesforceMobileSDK-Shared/issues/518
parseUrl("https://asdasd:123/abc/de?a=b&c=d") => {hash: "", host: "asdasd:123", hostname: "asdasd", params: {a: "b", c: "d"}, path: "/abc/de", port: "123", protocol: "https:"}
parseUrl("/abc/de?a=b&c=d") => {hash: "", host: "", hostname: "", params: {a: "b", c: "d"}, path: "/abc/de", port: "", protocol: ""}