DefaultPathSegment allows shared empty parameters map to be mutated #27064
Labels
in: web
Issues in web modules (web, webmvc, webflux, websocket)
status: backported
An issue that has been backported to maintenance branches
type: bug
A general bug
Milestone
PR #27063 made me aware of the following existing bug.
If a
PathContainer
is created usingOptions.MESSAGE_ROUTE
,DefaultPathSegment#parameters()
returns a mutable map which allows the user to modify the contents of the static, sharedEMPTY_PARAMS
map inDefaultPathContainer
.The text was updated successfully, but these errors were encountered: