[whatwg/url] Multi hosts parsing (#398)

Is there a way to allow parsing a multi-host URL? typically used by DBs

```js

const url = 'https://foo@server1.foo.ai:7998,server2.foo.ai:7998,server3.foo.ai:7998/data?authMechanism=X509&replicaSet=rs0&ssl=true&sslValidate=true';

const u = new URL(url);
```

> TypeError [ERR_INVALID_URL]: Invalid URL

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/whatwg/url/issues/398

Received on Sunday, 24 June 2018 19:47:46 UTC