Skip to content

Matrix variable issue #334

@nickcodefresh

Description

@nickcodefresh

This leads on fom #307, and I'm using Hoxton.SR4

I'm a bit confused by matrix variale resolution. Having the definition:

@GetMapping(value = "/accounts{matrixVars}")
AccountList getAccounts(@MatrixVariable("matrixVars") Map<String, List<String>> matrixVars);

results in the following if passing in the map [host:accounta, enabled:true]:

/accounts%3Bhostname%3D%5Baccounta%5D%3Benabled%3D%5Btrue%5D%

Rather than

/accounts;hostname=accounta;enabled=true

The encoding of semi-colons and equals makes the request fail.

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