I am facing an issue where url sent to spring rest service containing parameter "xyz=abc & amp ;emailDate=2014-09-09"
This URL is hit from emails sent to the customer. And when customer hits the URL some browser client on user's mobile is not converting "& amp ;" to &.
Please ignore spaces above. Stackoverflow is converting & amp ; to & if there are no spaces.
When request comes to server we see emailDate as null. Server side code is as below.
@RequestMapping(value="/openEmail", method=RequestMethod.GET)
public @ResponseBody byte[] openEmail(RequestParam(value="token", required=false) String customerToken, @RequestParam(value="emailDate", required=false) String emailDate, HttpServletRequest request) throws IOException{
Can you please help me overcome this issue.