Kaloyan Spiridonov created AMQ-6443:
---------------------------------------

             Summary: ActiveMQ relies on deafult locale
                 Key: AMQ-6443
                 URL: https://issues.apache.org/jira/browse/AMQ-6443
             Project: ActiveMQ
          Issue Type: Bug
            Reporter: Kaloyan Spiridonov
            Priority: Minor


In MySqlJDBCAdapter class in line 48 is not used 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.




--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to