d3-request icon indicating copy to clipboard operation
d3-request copied to clipboard

d3.request inherent uri encoding not handling encoding % itself correctly?

Open computationdoc opened this issue 7 years ago • 0 comments

It seems perhaps d3.request inherent uri encoding is not handle % correctly?

for example if I use d3.request to pass a text string in a parameter string that includes a % character it is not encoded so 20% . becomes 20%%20. rather than 20%25%20. and fails later...

I understand the answer may be to wrap in encodeURIComponent() but putting that all over the place seems not optimal since things get encoded anyway...

please evaluate and advise.

thanks!

JCS

computationdoc avatar Jun 26 '18 21:06 computationdoc