- From: Daijirō Wachi <notifications@github.com>
- Date: Sat, 25 Feb 2017 07:54:40 -0800
- To: whatwg/url <url@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Saturday, 25 February 2017 15:55:37 UTC
I just noticed that `URL` allows adding an invalid URL into `href`:
```js
var url = new URL('http://example.com');
url.href = 'file://user:pass%40foo.bar.com:21/aaa/zzz?l=24#test';
```
Then issue is not an exception anymore. Fair enough :)
Thanks, I'm going to close this as resolved.
--
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/259#issuecomment-282492576
Received on Saturday, 25 February 2017 15:55:37 UTC