Skip to content

json-api reads from Raw URLs instead of decoded #187

@numerical25

Description

@numerical25

I saw some open tickets for URL Encoding but I am not sure if it pertains to this. I am unable to test with applications such as Postman because the application encodes the URLS.

So something like this

filter=(:or,(:and,(events.end_date,:gte,1549745450224),(events.start_date,:lte,1549745450224)))

Turns into this...

filter=%28:or,%28:and,%28events.end_date,:gte,1549745450224%29,%28events.start_date,:lte,1549745450224%29%29%29

json-api breaks because its reading from raw request.rawQueryString instead of request.queryParams

Is there a setting to change this or can this be fixed. It seems json-api server should be able to handle both forms of query strings.

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