You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@johnzon.apache.org by "Romain Manni-Bucau (Jira)" <ji...@apache.org> on 2023/09/04 02:39:00 UTC
[jira] [Resolved] (JOHNZON-400) Use of toLowerCase without specifying Locale
[ https://issues.apache.org/jira/browse/JOHNZON-400?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Romain Manni-Bucau resolved JOHNZON-400.
----------------------------------------
Fix Version/s: 1.2.22
Assignee: Romain Manni-Bucau
Resolution: Fixed
Good catch, fixed this one and another one when formatting errors.
> Use of toLowerCase without specifying Locale
> --------------------------------------------
>
> Key: JOHNZON-400
> URL: https://issues.apache.org/jira/browse/JOHNZON-400
> Project: Johnzon
> Issue Type: Improvement
> Components: Core
> Affects Versions: 1.2.21
> Reporter: Michele Vivoda
> Assignee: Romain Manni-Bucau
> Priority: Minor
> Fix For: 1.2.22
>
>
> h1.
> h4. JsonPatchImpl.java line 241
> https://github.com/apache/johnzon/blob/5eb2c7ff643700a8ba77dbe9c29d6500f54031ef/johnzon-core/src/main/java/org/apache/johnzon/core/JsonPatchImpl.java#L241C32-L241C75
> .add("op", operation.name().toLowerCase())
> Use .toLowerCase(Locale.ROOT) instead
> [https://mattryall.net/blog/the-infamous-turkish-locale-bug]
--
This message was sent by Atlassian Jira
(v8.20.10#820010)