You are viewing a plain text version of this content. The canonical link for it is here.
Posted to server-dev@james.apache.org by "Tellier Benoit (JIRA)" <se...@james.apache.org> on 2017/03/21 00:54:42 UTC

[jira] [Resolved] (JAMES-1967) toLowerCase should always take a Locale

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

Tellier Benoit resolved JAMES-1967.
-----------------------------------
    Resolution: Fixed

Solved by merging https://github.com/linagora/james-project/pull/699

ToUpperCase have also been taken into account

> toLowerCase should always take a Locale
> ---------------------------------------
>
>                 Key: JAMES-1967
>                 URL: https://issues.apache.org/jira/browse/JAMES-1967
>             Project: James Server
>          Issue Type: Bug
>            Reporter: Tellier Benoit
>
> Because the toLowerCase operation is Locale dependant. It means if the system locale changes, then the operation result will be different. (eg I -> i in English but I -> ı in turkish)
> It does mean if I start James on an English and create domain I.com, it will be stored i.com. Then I switch the server locale to Turkish. Now I.com becomes ı.com. This operation should be deterministic.
> Thus we should enforce the english Locale for such operations everywhere appropriate.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org