ws-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Colm O hEigeartaigh (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (WSS-590) WSS4J relies on deafult locale
Date Wed, 12 Oct 2016 09:03:20 GMT

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

Colm O hEigeartaigh resolved WSS-590.
-------------------------------------
    Resolution: Fixed

> WSS4J relies on deafult locale
> ------------------------------
>
>                 Key: WSS-590
>                 URL: https://issues.apache.org/jira/browse/WSS-590
>             Project: WSS4J
>          Issue Type: Bug
>    Affects Versions: 2.1.4
>            Reporter: Kaloyan Spiridonov
>            Assignee: Colm O hEigeartaigh
>            Priority: Minor
>             Fix For: 2.2.0, 2.0.10, 2.1.8
>
>
> In several places wss4j 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 AttachmentContentSignatureTransform class lines 83 and 179



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

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


Mime
View raw message