Here I am passing a date-time: 2007-12-03T10:15:30+01:00 as the Request Parameter, but looks like Spring is encoding it by default. As a result, "+" gets replaced by " ". So my date-time looks like 2007-12-03T10:15:30 01:00. I don't want this encoding to take place. How to fix this?
@GetMapping("/data")
public String getData(@RequestParam String date) {
System.out.println(date); // 2007-12-03T10:15:30 01:00
....
}