@CookieValue values are not URL decoded [SPR-7286] #11945
Labels
in: web
Issues in web modules (web, webmvc, webflux, websocket)
type: enhancement
A general enhancement
Milestone
Scott Andrews opened SPR-7286 and commented
Method arguments injected into an
@RequestMapping
method via@CookieValue
remain URL encoded while properties from@RequestParam
are automatically decoded. For consistency,@CookieValue
should also be decoded before injection.For example a pipe delimited value is injected as:
Instead of:
Affects: 3.0.3
Referenced from: commits b2204ec
The text was updated successfully, but these errors were encountered: