Spring Boot Cookie
Cookie character problem
Tomcat doesn’t allow to use ‘=’ as cookie by default.
Spring Boot Controller receive cookie and remove(trim) = automatically.
To enable = etc…, we need to use a bit technical
Insert this code before SpringApplication.run
After inserting, Spring Boot Controller can receive cookies which include ‘=’.
Don’t use = character as cookie.
Save URLEncoded cookie instead of using raw cookie.
Spring Boot received cookie as raw(decoded) @CookieValue, @Valid,
cookiestr is raw value