- From: Yutaka Hirano <notifications@github.com>
- Date: Mon, 30 Oct 2017 04:11:15 +0000 (UTC)
- To: whatwg/url <url@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Monday, 30 October 2017 04:11:38 UTC
```
const url = new URL('http://www.example.com/a=b,c');
const params = url.searchParams;
assert_equals(url.toString(), 'http://www.example.com/a=b,c');
```
```
const url = new URL('http://www.example.com/');
const params = url.searchParams;
params.append('a', 'b,c')
assert_equals(url.toString(), 'http://www.example.com/a=b%2Cc');
```
I feel this difference a bit inconsistent. Is it intentional?
--
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/350
Received on Monday, 30 October 2017 04:11:38 UTC