I know that according to the documentation, cookie values should not contain white space, and I've already read this topic Why do cookie values with whitespace arrive at the client side with quotes?
But I still have a problem with it. I get cookie value
emailAddress=john.doe@mail.com&firstName=John&authenticationExpiresUTC=12/05/2014 10:41:35
I need to change some information in them and then return cookie in the same format, because the other services expects it to be so.
The services is .NET, I don't even have access to them. So, I can't change anything in their code, and use URL-encode/decode or something like this.
Is there any solution of the problem? Thanks in advance.
EDITED: I should set edited cookie value in Java.