You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Kaloyan Spiridonov (JIRA)" <ji...@apache.org> on 2016/09/29 12:55:20 UTC
[jira] [Created] (BEANUTILS-498) BeanUtils relies on deafult locale
Kaloyan Spiridonov created BEANUTILS-498:
--------------------------------------------
Summary: BeanUtils relies on deafult locale
Key: BEANUTILS-498
URL: https://issues.apache.org/jira/browse/BEANUTILS-498
Project: Commons BeanUtils
Issue Type: Bug
Affects Versions: 1.8.3
Reporter: Kaloyan Spiridonov
Priority: Minor
In several places BeanUtils does not use proper toLower()/toUpper(). The issue is that if the server relies on the default locale and if the process was started with some non English compatible locale such as Turkish, toUpper/Lower will yield an incorrect result. For instance "URI".toLowerCase() will result in "urı" instead of "uri". The same applies to toUpperCase -> "uri".toUpperCase() will become "URİ" and checks like "string.toUpperCase().equals(someConstant)" will fail.
It's about BooleanConverter class lines 212 and 218 and JDBCDynaClass class line 193
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)