[prev in list] [next in list] [prev in thread] [next in thread]
List: xmlrpc-user
Subject: [jira] [Created] (WSS-590) WSS4J relies on deafult locale
From: "Kaloyan Spiridonov (JIRA)" <jira () apache ! org>
Date: 2016-09-28 12:57:20
Message-ID: JIRA.13008220.1475067416000.686816.1475067440468 () Atlassian ! JIRA
[Download RAW message or body]
Kaloyan Spiridonov created WSS-590:
--------------------------------------
Summary: 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
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 s=
tarted with some non English compatible locale such as Turkish, toUpper/Low=
er will yield an incorrect result. For instance "URI".toLowerCase() will re=
sult in "ur=C4=B1" instead of "uri". The same applies to toUpperCase -> "ur=
i".toUpperCase() will become "UR=C4=B0" 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
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic