Project: Tomcat
Bug 49221 javax.servlet.http.Cookie.setDomain uses default charset
Reported: 2010-04-29 09:40:27 | Status: resolved fixed

javax.servlet.http.Cookie.setDomain(String pattern) has the following code: domain = pattern.toLowerCase(); The result of this depends on the default Locale; it would be safer to use a fixed locale, e.g. Local.ENGLISH.

Files changed in fix:
java/javax/servlet/http/Cookie.java