Skip to content

Query string decoding #216

@markkemper1

Description

@markkemper1

The querystring is url decoded (in the same way as the path). However if the querystring has encoded '=' and '&' characters then you can't parse key / value pairs out of the result.

EXAMPLE:
http://test.com/?returnurl=http%3A%2F%2Fwww.test.com%3Fabc%3D1%26def%3D2&abc=3
ctx.querystring = "returnurl=http://www.test.com?abc=1&def=2&abc=3"

So the decoded '&' and '=' above causes issues. I can't think of the reason why the querystring is being decoded. At the very least there should be a separate option to turn the querystring decoding on/off (separate to the existing option)

Unless I'm missing something?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions