Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

@CookieValue values are not URL decoded [SPR-7286] #11945

Closed
spring-projects-issues opened this issue Jun 15, 2010 · 1 comment
Closed

@CookieValue values are not URL decoded [SPR-7286] #11945

spring-projects-issues opened this issue Jun 15, 2010 · 1 comment
Assignees
Labels
in: web Issues in web modules (web, webmvc, webflux, websocket) type: enhancement A general enhancement
Milestone

Comments

@spring-projects-issues
Copy link
Collaborator

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:

value1%7Cvalue2

Instead of:

value1|value2

Affects: 3.0.3

Referenced from: commits b2204ec

@spring-projects-issues
Copy link
Collaborator Author

Juergen Hoeller commented

Good point - fixed for 3.0.4.

Juergen

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
in: web Issues in web modules (web, webmvc, webflux, websocket) type: enhancement A general enhancement
Projects
None yet
Development

No branches or pull requests

2 participants