Skip to content

DefaultPathSegment allows shared empty parameters map to be mutated #27064

Closed
@sbrannen

Description

@sbrannen

PR #27063 made me aware of the following existing bug.

If a PathContainer is created using Options.MESSAGE_ROUTE, DefaultPathSegment#parameters() returns a mutable map which allows the user to modify the contents of the static, shared EMPTY_PARAMS map in DefaultPathContainer.

Metadata

Metadata

Assignees

Labels

in: webIssues in web modules (web, webmvc, webflux, websocket)status: backportedAn issue that has been backported to maintenance branchestype: bugA general bug

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions