If I have unsafe character in URL, my spring boot application returns 400.
I need to enforce UTF-8 encoding so that my spring boot application can encode such characters and then pass the request.
I tried adding @Encoded annotation at parameter level but this did not fix the issue:
I guess I need to enable this config
spring.http.encoding.charset=UTF-8
spring.http.encoding.enabled=true
spring.http.encoding.force=true
Being new to spring boot, I am not sure of the file. Could I please get some direction on this?