Skip to content

[form-urlencoded] Parsing objects not working as expected #1

@josiahwiebe

Description

@josiahwiebe

Objects in form-urlencoded bodies are not being parsed as expected.

For example: ?test=data&object[item]=objectdata
This would be parsed as:

{
  test: data,
  'object[item]': objectdata,
}

The expected result is:

{
  test: data,
  object: {
    item: objectdata,
  }
}

Metadata

Metadata

Assignees

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