Re: [whatwg/url] empty auth vs no auth -- same? (#181)

With the current public API of this standard, having no username and password is the same as having an empty username and password.

```js
url = new URL("http://domain.com/")
url.username==="" && url.password===""  //-> true
```

```js
url = new URL("http://:@domain.com/")
url.username==="" && url.password===""  //-> true
```

-- 
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/181#issuecomment-269400463

Received on Wednesday, 28 December 2016 00:02:39 UTC