[
https://issues.apache.org/jira/browse/JOHNZON-400?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Michele Vivoda updated JOHNZON-400:
-----------------------------------
Description:
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]
was:
h1.
h4. JsonPatchImpl.java line 241
.add("op", operation.name().toLowerCase())
Use .toLowerCase(Locale.ROOT) instead
[https://mattryall.net/blog/the-infamous-turkish-locale-bug]
> 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
> Priority: Minor
>
> 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)