Skip to content

Trailing space as + causes a string param to not be decoded #28

Description

@DJphilomath

Example

ToCountry=US&Body=No%2C+I%E2%80%99m+ill+&FromCountry=US

Notice the + sign at the end of the Body param

After calling .parse the Body param is not decoded

{"ToCountry":"US","Body":"No%2C I%E2%80%99m ill ","FromCountry":"US"}

It works if the trailing + sign is at the end of the string

ToCountry=US&FromCountry=US&Body=No%2C+I%E2%80%99m+ill+

Once parsed

{"ToCountry":"US","FromCountry":"US","Body":"No, I’m ill "}

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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