Skip to content

Problems with '+' decode #256

@Kompavand

Description

@Kompavand

I use
encodeURIComponent(someUriPath)
It encodes '+' as '%2B' and whitespace as '%20'
When I try to use queryString.parse() with enabled decode option i see that '%20' decodes as whitespace and '%2B' decodes as whitespace too.
Is that normal behaviour?

P.S. When i use decode-uri-component library directly '%2B decodes as '+'.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions