Skip to content

http.querystring doesn't support array parameters #75

@ebachle

Description

@ebachle

In a request like this one (normally this is URL encoded):

http://host.example/something/entries?include[]=ask.placed.share&include[]=ask.placed.reminder&include[]=ask.placed.confirm.reminder&include[]=ask.matched.share&include[]=ask.matched.reminder&include[]=ask.payment_failed.reminder&include[]=ask.authorization_failed.reminder&include[]=ask.additional_days_to_ship_alert&include[]=ask.how_it_works.penalty&include[]=ask.condition_tutorial&include[]=bid.placed.share&include[]=bid.placed.reminder&include[]=bid.matched.share&include[]=bid.matched.reminder&include[]=bid.payment_failed.reminder&include[]=bid.authorization_failed.reminder&include[]=bid.additional_days_to_ship_alert&include[]=bid.how_it_works.penalty&include[]=bid.condition_tutorial&include[]=bid.confirm_condition&include[]=want.placed.share&include[]=want.placed.reminder&include[]=hold.placed.share&include[]=hold.placed.reminder&include[]=share&query=%7B%0A%20%20%22content_group%22%20:%20%22streetwear-clothing%22%0A%7D&locale=ja-jp

The trace only has the very last include[] query string array parameter of "share" in the include object.

Approximation from the trace:

queryString = {
	include = {
		share
	}
	locale = ja-jp
	query = %7B%0A%20%20%22content_group%22%20:%20%22streetwear-clothing%22%0A%7D
}
image

Not sure if this is an issue with the nginx module, the cpp tracer, or something I'm doing. But I'd be open to thoughts on how to resolve it.

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