Re: [whatwg/url] SIngle quotes in queries should be percent encoded? (#172)

Firefox and Chrome also consistently percent-encode the whitespace in

```js
u = new URL("http://foo.bar?query")
u.search = "qu\r\n\tery";
console.log(u.href);
// "http://foo.bar/?qu%0D%0A%09ery"
```

though the spec does not ask us to do this.

There is a test for this at https://github.com/w3c/web-platform-tests/blob/be5820ecd36650bff4728208629553931fd42ec2/url/setters_tests.json#L1053 which both presumably fail.

-- 
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/172#issuecomment-267791738

Received on Saturday, 17 December 2016 22:40:39 UTC