Skip to content
This repository was archived by the owner on May 16, 2026. It is now read-only.
This repository was archived by the owner on May 16, 2026. It is now read-only.

Url parse problem #10

@kakaska

Description

@kakaska

There is a bug when I would like to parse the following url:

/api/search/json?param_a=a&param_b[]=b&param_b[]=c

The $request->getRequestTarget() will be

/api/search/json?param_a=a&param_b%5B%5D=c

and $request->getUri()->getQueryValues() will be

array(2) {
  'param_a' =>
  string(1) "a"
  'param_b%5B%5D' =>
  string(1) "c"
}

Maybe you can use the default parse_str() function

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions