Skip to content

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

@computationdoc

Description

@computationdoc

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions