-
Type:
Bug
-
Resolution: Fixed
-
Priority:
Normal
-
Affects Version/s: 6.5.2
-
Component/s: Browser Issue, General
-
Security Level: Jimmy
-
Environment:
java VM with default locale in turkish
e.g. after Locale.setDefault(new Locale("tr", "TR"))
-
None
in turkish locale "MSIE".toLowerCase() becomes "msıe" (NOTE there is no dot on the i <> ı)
this is no bug in java, but just a locale specific casing-rule
happens in:
in Servlets.java
private static void browserInfo(Map<String, Object> zk, String ua) {
if (ua != null) {
ua = ua.toLowerCase();
could be the following line to avoid this problem
ua = ua.toLowerCase(Locale.ENGLISH); //use a specific locale that will work