manifoldcf-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ahmet Arslan (JIRA)" <j...@apache.org>
Subject [jira] [Created] (CONNECTORS-1304) ban usage of String.toUpperCase() without Locale
Date Wed, 27 Apr 2016 17:59:13 GMT
Ahmet Arslan created CONNECTORS-1304:
----------------------------------------

             Summary: ban usage of String.toUpperCase() without Locale
                 Key: CONNECTORS-1304
                 URL: https://issues.apache.org/jira/browse/CONNECTORS-1304
             Project: ManifoldCF
          Issue Type: Improvement
          Components: SearchBlox connector
    Affects Versions: ManifoldCF 2.4
            Reporter: Ahmet Arslan
            Assignee: Ahmet Arslan
             Fix For: ManifoldCF next


When relied on the default Locale, toUpperCase() is not reliable. For example: In SearchBloxConnector.java,
"title_boost".toUpperCase() will yield {{TÄ°TLE_BOOST}} on Turkish Locale and won't match
{{TITLE_BOOST}}. We should prevent this in a more permanent way. I would like to integrate
Uwe's [forbidden apis|https://github.com/policeman-tools/forbidden-apis] when I have time.



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

Mime
View raw message