[ 
https://issues.apache.org/jira/browse/CONNECTORS-94?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Karl Wright resolved CONNECTORS-94.
-----------------------------------

       Resolution: Incomplete
    Fix Version/s:     (was: ManifoldCF next)
                   ManifoldCF 1.1

No activity, and I couldn't find any cases that Robert mentioned.

                
> fix common localization traps
> -----------------------------
>
>                 Key: CONNECTORS-94
>                 URL: https://issues.apache.org/jira/browse/CONNECTORS-94
>             Project: ManifoldCF
>          Issue Type: Task
>          Components: Framework core
>    Affects Versions: ManifoldCF 0.1, ManifoldCF 0.2, ManifoldCF 0.3
>            Reporter: Robert Muir
>            Assignee: Robert Muir
>             Fix For: ManifoldCF 1.1
>
>
> Searching thru the LCF code, i found several uses of the following that 
> appear to be potentially dangerous:
> * getBytes() with no encoding: this is dangerous as the encoding is 
> completely unspecified. In most places this should likely mean "UTF-8"
> * getBytes("utf-8"): this is mostly a nitpick, but this alias is not 
> guaranteed to exist (see Charset docs). I suggest changing these all to 
> "UTF-8"
>   
> * String.toLowerCase()/String.toUpperCase() with no specified Locale, where 
> it appears the text is not used solely for display, but instead for 'caseless 
> matching'. I suggest changing these to use either the root Locale: new 
> Locale("") or even easier, Locale.ENGLISH. This way ACF does not have 
> surprising behavior on say a Turkish computer.
> I can contribute a patch to address these.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to