d3-request
d3-request copied to clipboard
d3.request inherent uri encoding not handling encoding % itself correctly?
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