Sun Java System Application Server Enterprise Edition 8.1 2005Q2 Upgrade and Migration Guide

encodeCookies Property

The encodeCookies property of the sun-web-app element in the sun-web.xml file performs URL encoding of cookies if set to true. If set to false, no encoding of cookies is performed. In Application Server 7, the default value of the encodeCookies property was true. This property was not present in Application Server 8. In Application Server 8.1, the default value is false.

In general, URL encoding of cookies is unnecessary. Setting this property to true is strongly discouraged. This property is provided only for those rare applications that depended on this behavior in Application Server 7. This property might be removed in a future release.