ASM cookie exposing server name?
Hi,
I just ran into an issue regarding ASM cookies. I have a transparent policy for a VS in place, that is called by an external portal. This external portal works with java and they get some exceptions, because our application sends a cookie that they can't handle properly.
According to their log, our application sends following cookie:
values:TS01876501=01de...34cbdea; Path=/<->JSESSIONID=0D...Q4d7.original_server_name; <->path=/test; <->01-Jan-1970 <->Max-Age=0; <->Expires=Thu,<->00:00:00<->GMT
I'm now a bit concerned, because this cookie seems to expose the original server name to the client, which is somehow strange for ASM to do...
But the real issue that throws an exception at this client portal is the cookie-expiration date:
Rewriting Set-Cookie value:01-Jan-1970
... ERROR Exception occured while handling request
... ERROR java.lang.StringIndexOutOfBoundsException: String index out of range: -1
... ERROR at java.lang.String.substring(String.java:1967)
Any idea how to adjust the date & time in the cookie properly? And how to hide the original server name (node)?